forked from aslan/applicant-site
42 lines
1.2 KiB
PHP
42 lines
1.2 KiB
PHP
<?php
|
|
|
|
namespace Database\Seeders;
|
|
|
|
use Carbon\Carbon;
|
|
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
|
|
use Illuminate\Database\Seeder;
|
|
use Illuminate\Support\Facades\DB;
|
|
|
|
class OnlineDocumentsSeeder extends Seeder
|
|
{
|
|
/**
|
|
* Run the database seeds.
|
|
*/
|
|
public function run(): void
|
|
{
|
|
DB::table('online_documents')->insert([
|
|
[
|
|
'name' => 'Подать документы онлайн',
|
|
'url' => '',
|
|
'parent' => '0',
|
|
'children' => '2/3',
|
|
'created_at' => Carbon::now(),
|
|
],
|
|
[
|
|
'name' => 'По образовательным программам высшего образования',
|
|
'url' => '',
|
|
'parent' => '1',
|
|
'children' => '',
|
|
'created_at' => Carbon::now(),
|
|
],
|
|
[
|
|
'name' => 'По образовательным программам среднего профессионального образования (колледж)',
|
|
'url' => '',
|
|
'parent' => '1',
|
|
'children' => '',
|
|
'created_at' => Carbon::now(),
|
|
]
|
|
]);
|
|
}
|
|
}
|