2024-01-23 11:20:15 +03:00
|
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace Database\Seeders;
|
|
|
|
|
|
|
|
|
|
use Carbon\Carbon;
|
|
|
|
|
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
|
|
|
|
|
use Illuminate\Database\Seeder;
|
|
|
|
|
use Illuminate\Support\Facades\DB;
|
|
|
|
|
|
|
|
|
|
class ReceptionScreenSeeder extends Seeder
|
|
|
|
|
{
|
|
|
|
|
/**
|
|
|
|
|
* Run the database seeds.
|
|
|
|
|
*/
|
|
|
|
|
public function run(): void
|
|
|
|
|
{
|
|
|
|
|
DB::table('reception_screens')->insert([
|
|
|
|
|
[
|
|
|
|
|
'name' => 'Пункт 1 с файлами',
|
2024-01-23 17:58:48 +03:00
|
|
|
|
'position' => 2,
|
2024-01-23 11:20:15 +03:00
|
|
|
|
'created_at' => Carbon::now(),
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
'name' => 'Пункт 2 с файлами',
|
2024-01-23 17:58:48 +03:00
|
|
|
|
'position' => 3,
|
2024-01-23 11:20:15 +03:00
|
|
|
|
'created_at' => Carbon::now(),
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
'name' => 'Пункт 3 с файлами',
|
2024-01-23 17:58:48 +03:00
|
|
|
|
'position' => 1,
|
2024-01-23 11:20:15 +03:00
|
|
|
|
'created_at' => Carbon::now(),
|
|
|
|
|
]
|
|
|
|
|
]);
|
|
|
|
|
}
|
|
|
|
|
}
|