applicant-site/database/seeders/EducationFormSeeder.php

32 lines
815 B
PHP
Raw Permalink Normal View History

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