%PDF- %PDF-
Direktori : /www/loslex_o/test/database/seeders/ |
Current File : /www/loslex_o/test/database/seeders/ContestCategorySeeder.php |
<?php namespace Database\Seeders; use Illuminate\Support\Carbon; use Illuminate\Database\Seeder; use Illuminate\Support\Facades\DB; use Illuminate\Database\Console\Seeds\WithoutModelEvents; class ContestCategorySeeder extends Seeder { /** * Run the database seeds. */ public function run(): void { DB::table('contest_categories')->insert(['name' => 'shortgun', 'created_at' => Carbon::now()->format('Y-m-d H:i:s'),]); DB::table('contest_categories')->insert(['name' => 'rifle', 'created_at' => Carbon::now()->format('Y-m-d H:i:s'),]); DB::table('contest_categories')->insert(['name' => 'shotgun', 'created_at' => Carbon::now()->format('Y-m-d H:i:s'),]); } }