applicant-site/database/seeders/PlaceTypeSeeder.php

32 lines
745 B
PHP

<?php
namespace Database\Seeders;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
class PlaceTypeSeeder extends Seeder
{
/**
* Run the database seeds.
*/
public function run(): void
{
DB::table('place_types')->insert([
[
'name' => 'бюджетная',
'description' => 'бюджетная',
'slug' => 'budget',
'position' => '1',
],
[
'name' => 'платная',
'description' => 'платная',
'slug' => 'paid',
'position' => '2',
],
]);
}
}