<?php

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;

class TemplatesSeeder extends Seeder
{
    public function run()
    {
        // Templates
        DB::table('templates')->insert([
            ['name' => 'Default Template', 'created_at' => now(), 'updated_at' => now()],
        ]);
        // Template items
        DB::table('template_items')->insert([
            ['template_id' => 1, 'name' => 'Item 1', 'created_at' => now(), 'updated_at' => now()],
        ]);
        // Template task types
        DB::table('template_task_types')->insert([
            ['template_id' => 1, 'task_type_id' => 1, 'created_at' => now(), 'updated_at' => now()],
        ]);
        $this->command->info('Seeded Templates tables');
    }
} 