forked from aslan/applicant-site
32 lines
815 B
PHP
32 lines
815 B
PHP
|
<?php
|
||
|
|
||
|
namespace Database\Seeders;
|
||
|
|
||
|
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
|
||
|
use Illuminate\Database\Seeder;
|
||
|
use Illuminate\Support\Facades\DB;
|
||
|
|
||
|
class EducationFormSeeder extends Seeder
|
||
|
{
|
||
|
public function run(): void
|
||
|
{
|
||
|
DB::table('education_forms')->insert([
|
||
|
[
|
||
|
'name' => 'очная',
|
||
|
'description' => 'очная',
|
||
|
'slug' => 'full-time',
|
||
|
],
|
||
|
[
|
||
|
'name' => 'заочная',
|
||
|
'description' => 'специалитет',
|
||
|
'slug' => 'part-time',
|
||
|
],
|
||
|
[
|
||
|
'name' => 'очно-заочная',
|
||
|
'description' => 'очно-заочная',
|
||
|
'slug' => 'blended',
|
||
|
],
|
||
|
]);
|
||
|
}
|
||
|
}
|