This commit is contained in:
2025-08-02 23:14:28 +07:00
parent 6568aa45f8
commit e075da48fd
403 changed files with 7813 additions and 4283 deletions

View File

@@ -0,0 +1,25 @@
<?php
namespace Database\Seeders;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
use App\Location; // <--- Thêm dòng này
class LocationSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
Location::insert([
['locationname' => 'Hà Nội'],
['locationname' => 'Đà Nẵng'],
['locationname' => 'TP. Hồ Chí Minh'],
['locationname' => 'Cần Thơ'],
['locationname' => 'Huế'],
]);
}
}