Roman_applicant-site/database/seeders/DirectionProfileSeeder.php

38 lines
1.2 KiB
PHP
Raw Normal View History

2024-02-26 10:58:02 +03:00
<?php
namespace Database\Seeders;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
class DirectionProfileSeeder extends Seeder
{
public function run(): void
{
DB::table('direction_profiles')->insert([
[
'name' => 'Государственно-правовой',
'description' => 'Государственно-правовой профиль',
'slug' => 'the-state-legal',
'position' => 1,
'direction_id' => 1,
],
[
'name' => 'Условно-правовой',
'description' => 'Условно-правовой профиль',
'slug' => 'probationary-profile',
'position' => 2,
'direction_id' => 1,
],
[
'name' => 'Цифровой Юрист',
'description' => 'Цифровой Юрист профиль',
'slug' => 'digital-lawyer',
'position' => 3,
'direction_id' => 1,
],
]);
}
}