Files
izyim-api/database/seeds/CustomexamSeeder.php
T
Zain Fauzan Rofie Azizi 041c643bb1 ongoing testing
2018-06-06 15:27:46 +08:00

28 lines
673 B
PHP

<?php
use Illuminate\Database\Seeder;
class CustomexamSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table('customexam')->insert([
'id' => '1',
'so_id' => '1',
'custom_date' => Carbon::now()->format('Y-m-d H:i:s'),
'new_etd' => Carbon::now()->format('Y-m-d H:i:s'),
'new_eta' => Carbon::now()->format('Y-m-d H:i:s'),
'release_date' => Carbon::now()->format('Y-m-d H:i:s'),
'created_at' => Carbon::now()->format('Y-m-d H:i:s'),
'updated_at' => Carbon::now()->format('Y-m-d H:i:s'),
]);
}
}