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