mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim-api.git
synced 2026-08-19 04:24:01 +00:00
34 lines
755 B
PHP
34 lines
755 B
PHP
<?php
|
|
|
|
use Illuminate\Database\Seeder;
|
|
use Carbon\Carbon;
|
|
|
|
class DeliveryInfoSeeder extends Seeder
|
|
{
|
|
/**
|
|
* Run the database seeds.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function run()
|
|
{
|
|
DB::table('deliveryinfos')->insert([
|
|
|
|
'id' => '999',
|
|
'branch' => 'testing',
|
|
'deli_info' => 'testing',
|
|
'address' => 'testing',
|
|
'city' => 'testing',
|
|
'postcode' => '12345',
|
|
'state' => 'testing',
|
|
'country' => 'testing',
|
|
'contact_person' => 'testing',
|
|
'contact_person_no' => '12345',
|
|
'created_at' => Carbon::now()->format('Y-m-d H:i:s'),
|
|
'updated_at' => Carbon::now()->format('Y-m-d H:i:s'),
|
|
'com_id' => '999'
|
|
|
|
]);
|
|
}
|
|
}
|