26 lines
430 B
PHP
26 lines
430 B
PHP
<?php
|
|
|
|
namespace Database\Seeders;
|
|
|
|
use App\Models\Building;
|
|
use App\Models\Room;
|
|
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
|
|
use Illuminate\Database\Seeder;
|
|
|
|
class RoomSeeder extends Seeder
|
|
{
|
|
/**
|
|
* Run the database seeds.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function run()
|
|
{
|
|
$items = [
|
|
];
|
|
foreach ($items as $item) {
|
|
Room::create($item);
|
|
}
|
|
}
|
|
}
|