Roman_applicant-site/database/seeders/ReceptionScreenSeeder.php

33 lines
787 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?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(),
]
]);
}
}