forked from aslan/applicant-site
31 lines
813 B
PHP
31 lines
813 B
PHP
<?php
|
||
|
||
namespace Database\Seeders;
|
||
|
||
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
|
||
use Illuminate\Database\Seeder;
|
||
use Illuminate\Support\Facades\DB;
|
||
|
||
class CostSeeder extends Seeder
|
||
{
|
||
public function run(): void
|
||
{
|
||
DB::table('costs')->insert([
|
||
[
|
||
'position' => 1,
|
||
'cost' => 103000,
|
||
'education_form_id' => 1,
|
||
'direction_id' => 1,
|
||
'description' => 'стоимость обучения 103 000 руб',
|
||
],
|
||
[
|
||
'position' => 2,
|
||
'cost' => 42000,
|
||
'education_form_id' => 2,
|
||
'direction_id' => 1,
|
||
'description' => 'стоимость обучения 42 000 руб',
|
||
],
|
||
]);
|
||
}
|
||
}
|