Roman_applicant-site/database/seeders/FeedbackSeeder.php

27 lines
652 B
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?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,
],
]);
}
}