2024-02-16 10:43:55 +03:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Database\Seeders;
|
|
|
|
|
2024-03-04 09:53:33 +03:00
|
|
|
use App\Enums\ExaminationTypeEnum;
|
2024-02-16 10:43:55 +03:00
|
|
|
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
|
|
|
|
use Illuminate\Database\Seeder;
|
|
|
|
use Illuminate\Support\Facades\DB;
|
|
|
|
|
|
|
|
class ExaminationTypeSeeder extends Seeder
|
|
|
|
{
|
|
|
|
public function run(): void
|
|
|
|
{
|
|
|
|
DB::table('examination_types')->insert([
|
|
|
|
[
|
|
|
|
'name' => 'ЕГЭ',
|
|
|
|
'description' => 'Unified State Examination',
|
2024-03-04 09:53:33 +03:00
|
|
|
'position' => ExaminationTypeEnum::Ege->value,
|
2024-02-16 10:43:55 +03:00
|
|
|
'slug' => 'USE',
|
|
|
|
],
|
|
|
|
[
|
|
|
|
'name' => 'СПО',
|
|
|
|
'description' => 'secondary vocational education',
|
2024-03-04 09:53:33 +03:00
|
|
|
'position' => ExaminationTypeEnum::Spo->value,
|
2024-02-16 10:43:55 +03:00
|
|
|
'slug' => 'SVE',
|
|
|
|
],
|
|
|
|
[
|
|
|
|
'name' => 'магитсратура',
|
|
|
|
'description' => 'type magistracy',
|
2024-03-04 09:53:33 +03:00
|
|
|
'position' => ExaminationTypeEnum::Magistracy->value,
|
2024-02-16 10:43:55 +03:00
|
|
|
'slug' => 'MAG',
|
|
|
|
],
|
|
|
|
]);
|
|
|
|
}
|
|
|
|
}
|