mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim-api.git
synced 2026-08-19 04:24:01 +00:00
30 lines
628 B
PHP
30 lines
628 B
PHP
<?php
|
|
|
|
use Illuminate\Database\Seeder;
|
|
use App\So;
|
|
use Carbon\Carbon;
|
|
|
|
class SoSeeder extends Seeder
|
|
{
|
|
/**
|
|
* Run the database seeds.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function run()
|
|
{
|
|
DB::table('sos')->insert([
|
|
|
|
'ff_id' => '1',
|
|
'supplier_company_name' => 'SEED',
|
|
'supplier_contact_person' => 'SEED',
|
|
'supplier_contact_person_no' => '1234',
|
|
'delivery_id' => '1',
|
|
'warehouse_id' => '1',
|
|
'created_at' => Carbon::now()->format('Y-m-d H:i:s'),
|
|
'updated_at' => Carbon::now()->format('Y-m-d H:i:s'),
|
|
|
|
]);
|
|
}
|
|
}
|