forked from aslan/applicant-site
32 lines
858 B
PHP
32 lines
858 B
PHP
|
<?php
|
||
|
|
||
|
namespace Database\Seeders;
|
||
|
|
||
|
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
|
||
|
use Illuminate\Database\Seeder;
|
||
|
use Illuminate\Support\Facades\DB;
|
||
|
|
||
|
class EducationLevelSeeder extends Seeder
|
||
|
{
|
||
|
public function run(): void
|
||
|
{
|
||
|
DB::table('education_levels')->insert([
|
||
|
[
|
||
|
'name' => 'бакалавриат',
|
||
|
'description' => 'бакалавриат',
|
||
|
'slug' => 'baccalaureate',
|
||
|
],
|
||
|
[
|
||
|
'name' => 'специалитет',
|
||
|
'description' => 'специалитет',
|
||
|
'slug' => 'specialty',
|
||
|
],
|
||
|
[
|
||
|
'name' => 'магитсратура',
|
||
|
'description' => 'магитсратура',
|
||
|
'slug' => 'magistracy',
|
||
|
],
|
||
|
]);
|
||
|
}
|
||
|
}
|