35 lines
1.1 KiB
PHP
35 lines
1.1 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,
|
|
],
|
|
[
|
|
'name' => 'Условно-правовой',
|
|
'description' => 'Условно-правовой профиль',
|
|
'slug' => 'probationary-profile',
|
|
'position' => 2,
|
|
],
|
|
[
|
|
'name' => 'Цифровой Юрист',
|
|
'description' => 'Цифровой Юрист профиль',
|
|
'slug' => 'digital-lawyer',
|
|
'position' => 3,
|
|
],
|
|
]);
|
|
}
|
|
}
|