applicant-site/database/seeders/FeedbackSeeder.php

27 lines
652 B
PHP
Raw Permalink Normal View History

2024-04-23 14:23:21 +03:00
<?php
namespace Database\Seeders;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
class FeedbackSeeder extends Seeder
{
public function run(): void
{
DB::table('feedback')->insert([
[
'contact' => '79112223344',
'text' => 'Мое новое обращение',
'status_id' => 1,
],
[
'contact' => 'example@example.com',
'text' => 'Мое новое обращение',
'status_id' => 1,
],
]);
}
}