34 lines
812 B
PHP
34 lines
812 B
PHP
<?php
|
||
|
||
namespace Database\Seeders;
|
||
|
||
use Carbon\Carbon;
|
||
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
|
||
use Illuminate\Database\Seeder;
|
||
use Illuminate\Support\Facades\DB;
|
||
|
||
class TaskStatusSeeder extends Seeder
|
||
{
|
||
public function run(): void
|
||
{
|
||
DB::table('task_statuses')->insert([
|
||
[
|
||
'name' => 'Создан',
|
||
'created_at' => Carbon::now(),
|
||
],
|
||
[
|
||
'name' => 'В работе',
|
||
'created_at' => Carbon::now(),
|
||
],
|
||
[
|
||
'name' => 'На проверке',
|
||
'created_at' => Carbon::now(),
|
||
],
|
||
[
|
||
'name' => 'Выполнен',
|
||
'created_at' => Carbon::now(),
|
||
],
|
||
]);
|
||
}
|
||
}
|