mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim-api.git
synced 2026-08-19 04:24:01 +00:00
33 lines
700 B
PHP
33 lines
700 B
PHP
<?php
|
|
|
|
use Illuminate\Database\Seeder;
|
|
use Carbon\Carbon;
|
|
|
|
class WarehouseSeeder extends Seeder
|
|
{
|
|
/**
|
|
* Run the database seeds.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function run()
|
|
{
|
|
DB::table('warehouses')->insert([
|
|
|
|
'id' => '999',
|
|
'address'=>'testing',
|
|
'city'=>'testing',
|
|
'zip'=>'12345',
|
|
'state'=>'testing',
|
|
'contact_person'=>'testing',
|
|
'contact_person_no'=>'12345',
|
|
'branch'=>'testing',
|
|
'country'=>'testing',
|
|
'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'
|
|
|
|
]);
|
|
}
|
|
}
|