27 lines
652 B
PHP
27 lines
652 B
PHP
|
<?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,
|
|||
|
],
|
|||
|
]);
|
|||
|
}
|
|||
|
}
|