38 lines
1.2 KiB
PHP
38 lines
1.2 KiB
PHP
<?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,
|
|
],
|
|
]);
|
|
}
|
|
}
|