36 lines
886 B
PHP
36 lines
886 B
PHP
<?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 с файлами',
|
||
'position' => 2,
|
||
'created_at' => Carbon::now(),
|
||
],
|
||
[
|
||
'name' => 'Пункт 2 с файлами',
|
||
'position' => 3,
|
||
'created_at' => Carbon::now(),
|
||
],
|
||
[
|
||
'name' => 'Пункт 3 с файлами',
|
||
'position' => 1,
|
||
'created_at' => Carbon::now(),
|
||
]
|
||
]);
|
||
}
|
||
}
|