<?php

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

class NotificationsSeeder extends Seeder
{
    public function run()
    {
        // Notifications
        DB::table('notifications')->insert([
            ['user_id' => 1, 'type' => 'task', 'message' => 'Task assigned', 'created_at' => now(), 'updated_at' => now()],
        ]);
        // Notification settings
        DB::table('notification_settings')->insert([
            ['user_id' => 1, 'email' => 1, 'sms' => 0, 'created_at' => now(), 'updated_at' => now()],
        ]);
        // Desktop notification settings
        DB::table('desktop_notifications_settings')->insert([
            ['user_id' => 1, 'enabled' => 1, 'created_at' => now(), 'updated_at' => now()],
        ]);
        $this->command->info('Seeded Notifications tables');
    }
} 