Roman_applicant-site/database/seeders/EducationLevelSeeder.php

32 lines
858 B
PHP
Raw Permalink Normal View History

2024-02-14 15:00:28 +03:00
<?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',
],
]);
}
}