<?php
namespace Database\Seeders;

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

class TblCctvLiveMonitoringProjectSeeder extends Seeder
{
    public function run()
    {
        // Hapus semua data lama
        DB::table('tbl_cctv_live_monitoring_project')->truncate();

        // Isi data baru
        DB::table('tbl_cctv_live_monitoring_project')->insert([
            'camera_name' => 'Camera Andro2',
            'url'         => 'http://36.66.227.210:8890/hls/andro2.m3u8',
            'status'      => "1",
            'created_at'  => now(),
            'updated_at'  => now(),
        ]);
    }
}