forked from aslan/applicant-site
33 lines
787 B
PHP
33 lines
787 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 с файлами',
|
|||
|
'created_at' => Carbon::now(),
|
|||
|
],
|
|||
|
[
|
|||
|
'name' => 'Пункт 2 с файлами',
|
|||
|
'created_at' => Carbon::now(),
|
|||
|
],
|
|||
|
[
|
|||
|
'name' => 'Пункт 3 с файлами',
|
|||
|
'created_at' => Carbon::now(),
|
|||
|
]
|
|||
|
]);
|
|||
|
}
|
|||
|
}
|