mirror of
https://gitlab.com/uldvstar/exchange-2.0.git
synced 2026-08-19 04:24:16 +00:00
create database seeder for the services for testing environment
This commit is contained in:
@@ -16,8 +16,6 @@ class BanksTableDevelopmentSeeder extends Seeder
|
||||
{
|
||||
|
||||
|
||||
\DB::table('banks')->delete();
|
||||
|
||||
\DB::table('banks')->insert(array (
|
||||
0 =>
|
||||
array (
|
||||
@@ -50,311 +48,7 @@ class BanksTableDevelopmentSeeder extends Seeder
|
||||
'deleted_at' => NULL,
|
||||
'created_at' => '2021-03-09 07:50:52',
|
||||
'updated_at' => '2021-03-09 08:07:57',
|
||||
),
|
||||
2 =>
|
||||
array (
|
||||
'id' => 3,
|
||||
'company_id' => 4,
|
||||
'reference' => 'Toy Supplier',
|
||||
'bank_name' => 'Bank of China',
|
||||
'holder_name' => 'JY Something',
|
||||
'account_no' => '523457623987456923',
|
||||
'type' => 2,
|
||||
'default' => 0,
|
||||
'status' => 2,
|
||||
'country_id' => 2,
|
||||
'deleted_at' => NULL,
|
||||
'created_at' => '2021-03-09 07:55:25',
|
||||
'updated_at' => '2021-03-09 07:55:25',
|
||||
),
|
||||
3 =>
|
||||
array (
|
||||
'id' => 4,
|
||||
'company_id' => 2,
|
||||
'reference' => '1688',
|
||||
'bank_name' => '农业银行',
|
||||
'holder_name' => '一叶之秋',
|
||||
'account_no' => '1234567891234567890',
|
||||
'type' => 2,
|
||||
'default' => 0,
|
||||
'status' => 2,
|
||||
'country_id' => 2,
|
||||
'deleted_at' => NULL,
|
||||
'created_at' => '2021-03-09 07:55:40',
|
||||
'updated_at' => '2021-03-09 07:55:40',
|
||||
),
|
||||
4 =>
|
||||
array (
|
||||
'id' => 5,
|
||||
'company_id' => 4,
|
||||
'reference' => 'VHS Supplier',
|
||||
'bank_name' => 'Bank of China',
|
||||
'holder_name' => 'VHS Trading Ltd',
|
||||
'account_no' => '523457623987456923',
|
||||
'type' => 2,
|
||||
'default' => 0,
|
||||
'status' => 2,
|
||||
'country_id' => 2,
|
||||
'deleted_at' => NULL,
|
||||
'created_at' => '2021-03-09 07:55:57',
|
||||
'updated_at' => '2021-03-09 07:55:57',
|
||||
),
|
||||
5 =>
|
||||
array (
|
||||
'id' => 6,
|
||||
'company_id' => 3,
|
||||
'reference' => 'abc',
|
||||
'bank_name' => 'ICBC',
|
||||
'holder_name' => 'abc def',
|
||||
'account_no' => '12345678',
|
||||
'type' => 2,
|
||||
'default' => 0,
|
||||
'status' => 2,
|
||||
'country_id' => 2,
|
||||
'deleted_at' => NULL,
|
||||
'created_at' => '2021-03-09 07:56:24',
|
||||
'updated_at' => '2021-03-09 07:56:24',
|
||||
),
|
||||
6 =>
|
||||
array (
|
||||
'id' => 7,
|
||||
'company_id' => 6,
|
||||
'reference' => 'PURCHASE',
|
||||
'bank_name' => '建设银行',
|
||||
'holder_name' => '李小龙',
|
||||
'account_no' => '12345678901234567890-=1234567890-=234567',
|
||||
'type' => 2,
|
||||
'default' => 0,
|
||||
'status' => 2,
|
||||
'country_id' => 2,
|
||||
'deleted_at' => NULL,
|
||||
'created_at' => '2021-03-09 08:00:47',
|
||||
'updated_at' => '2021-03-09 08:00:47',
|
||||
),
|
||||
7 =>
|
||||
array (
|
||||
'id' => 8,
|
||||
'company_id' => 7,
|
||||
'reference' => 'huhu sdn bhd',
|
||||
'bank_name' => 'maybank',
|
||||
'holder_name' => 'huhu ha ha',
|
||||
'account_no' => '12837491203',
|
||||
'type' => 2,
|
||||
'default' => 0,
|
||||
'status' => 2,
|
||||
'country_id' => 2,
|
||||
'deleted_at' => NULL,
|
||||
'created_at' => '2021-03-09 08:08:42',
|
||||
'updated_at' => '2021-03-09 08:08:42',
|
||||
),
|
||||
8 =>
|
||||
array (
|
||||
'id' => 9,
|
||||
'company_id' => 8,
|
||||
'reference' => NULL,
|
||||
'bank_name' => 'maybank',
|
||||
'holder_name' => 'jewellery ltd',
|
||||
'account_no' => '234567890901',
|
||||
'type' => 2,
|
||||
'default' => 0,
|
||||
'status' => 2,
|
||||
'country_id' => 2,
|
||||
'deleted_at' => NULL,
|
||||
'created_at' => '2021-03-09 08:51:38',
|
||||
'updated_at' => '2021-03-09 08:51:38',
|
||||
),
|
||||
9 =>
|
||||
array (
|
||||
'id' => 10,
|
||||
'company_id' => 9,
|
||||
'reference' => 'from ABC company',
|
||||
'bank_name' => '中国银行',
|
||||
'holder_name' => 'CHENGDU ENTERPRISE',
|
||||
'account_no' => '5469 5406 8456 5462 857',
|
||||
'type' => 2,
|
||||
'default' => 0,
|
||||
'status' => 2,
|
||||
'country_id' => 2,
|
||||
'deleted_at' => NULL,
|
||||
'created_at' => '2021-03-09 09:27:52',
|
||||
'updated_at' => '2021-03-09 09:27:52',
|
||||
),
|
||||
10 =>
|
||||
array (
|
||||
'id' => 11,
|
||||
'company_id' => 1,
|
||||
'reference' => NULL,
|
||||
'bank_name' => 'Public Bank',
|
||||
'holder_name' => 'ZECTEC SDN BHD',
|
||||
'account_no' => '123344568789',
|
||||
'type' => 1,
|
||||
'default' => 0,
|
||||
'status' => 2,
|
||||
'country_id' => 1,
|
||||
'deleted_at' => NULL,
|
||||
'created_at' => '2021-03-09 09:29:46',
|
||||
'updated_at' => '2021-03-09 09:29:46',
|
||||
),
|
||||
11 =>
|
||||
array (
|
||||
'id' => 12,
|
||||
'company_id' => 11,
|
||||
'reference' => '1234',
|
||||
'bank_name' => 'Probashi bank',
|
||||
'holder_name' => 'Hasan',
|
||||
'account_no' => 'test 123456789',
|
||||
'type' => 2,
|
||||
'default' => 0,
|
||||
'status' => 2,
|
||||
'country_id' => 2,
|
||||
'deleted_at' => NULL,
|
||||
'created_at' => '2021-03-09 09:31:53',
|
||||
'updated_at' => '2021-03-09 09:31:53',
|
||||
),
|
||||
12 =>
|
||||
array (
|
||||
'id' => 13,
|
||||
'company_id' => 2,
|
||||
'reference' => 'AMAZON',
|
||||
'bank_name' => 'USA BANK',
|
||||
'holder_name' => 'CHRIS EVANS',
|
||||
'account_no' => '123455667',
|
||||
'type' => 2,
|
||||
'default' => 0,
|
||||
'status' => 2,
|
||||
'country_id' => 2,
|
||||
'deleted_at' => NULL,
|
||||
'created_at' => '2021-03-09 09:31:56',
|
||||
'updated_at' => '2021-03-09 09:31:56',
|
||||
),
|
||||
13 =>
|
||||
array (
|
||||
'id' => 14,
|
||||
'company_id' => 9,
|
||||
'reference' => 'CHENGDU ENTERPRISE',
|
||||
'bank_name' => 'z中国银行',
|
||||
'holder_name' => 'KLKLHJHJ SDN BHD',
|
||||
'account_no' => '5555 6666 8888 7777 555',
|
||||
'type' => 2,
|
||||
'default' => 0,
|
||||
'status' => 2,
|
||||
'country_id' => 2,
|
||||
'deleted_at' => NULL,
|
||||
'created_at' => '2021-03-09 09:58:07',
|
||||
'updated_at' => '2021-03-09 09:58:07',
|
||||
),
|
||||
14 =>
|
||||
array (
|
||||
'id' => 15,
|
||||
'company_id' => 3,
|
||||
'reference' => 'test',
|
||||
'bank_name' => '中国银行深证华强北支行',
|
||||
'holder_name' => '黄飞鸿',
|
||||
'account_no' => '1235123125123',
|
||||
'type' => 2,
|
||||
'default' => 0,
|
||||
'status' => 2,
|
||||
'country_id' => 2,
|
||||
'deleted_at' => NULL,
|
||||
'created_at' => '2021-03-09 10:38:52',
|
||||
'updated_at' => '2021-03-09 10:38:52',
|
||||
),
|
||||
15 =>
|
||||
array (
|
||||
'id' => 16,
|
||||
'company_id' => 13,
|
||||
'reference' => 'Toy Supplier',
|
||||
'bank_name' => 'Bank of china',
|
||||
'holder_name' => 'Lim Jay',
|
||||
'account_no' => '34652938756423',
|
||||
'type' => 2,
|
||||
'default' => 0,
|
||||
'status' => 2,
|
||||
'country_id' => 2,
|
||||
'deleted_at' => NULL,
|
||||
'created_at' => '2021-03-11 01:11:01',
|
||||
'updated_at' => '2021-03-11 01:11:01',
|
||||
),
|
||||
16 =>
|
||||
array (
|
||||
'id' => 17,
|
||||
'company_id' => 14,
|
||||
'reference' => '123123',
|
||||
'bank_name' => '123123',
|
||||
'holder_name' => '123123',
|
||||
'account_no' => '123123',
|
||||
'type' => 2,
|
||||
'default' => 0,
|
||||
'status' => 2,
|
||||
'country_id' => 2,
|
||||
'deleted_at' => NULL,
|
||||
'created_at' => '2021-03-11 05:40:29',
|
||||
'updated_at' => '2021-03-11 05:40:29',
|
||||
),
|
||||
17 =>
|
||||
array (
|
||||
'id' => 18,
|
||||
'company_id' => 14,
|
||||
'reference' => '44444',
|
||||
'bank_name' => '444444',
|
||||
'holder_name' => '44444',
|
||||
'account_no' => '44444',
|
||||
'type' => 2,
|
||||
'default' => 0,
|
||||
'status' => 2,
|
||||
'country_id' => 2,
|
||||
'deleted_at' => NULL,
|
||||
'created_at' => '2021-03-11 05:41:02',
|
||||
'updated_at' => '2021-03-11 05:41:02',
|
||||
),
|
||||
18 =>
|
||||
array (
|
||||
'id' => 19,
|
||||
'company_id' => 15,
|
||||
'reference' => 'Leong',
|
||||
'bank_name' => 'Maybank',
|
||||
'holder_name' => '333333',
|
||||
'account_no' => '888888',
|
||||
'type' => 2,
|
||||
'default' => 0,
|
||||
'status' => 2,
|
||||
'country_id' => 2,
|
||||
'deleted_at' => NULL,
|
||||
'created_at' => '2021-03-11 06:28:11',
|
||||
'updated_at' => '2021-03-11 06:28:11',
|
||||
),
|
||||
19 =>
|
||||
array (
|
||||
'id' => 20,
|
||||
'company_id' => 15,
|
||||
'reference' => 'Leong',
|
||||
'bank_name' => 'Maybank3',
|
||||
'holder_name' => '333333',
|
||||
'account_no' => '888888',
|
||||
'type' => 2,
|
||||
'default' => 0,
|
||||
'status' => 2,
|
||||
'country_id' => 2,
|
||||
'deleted_at' => NULL,
|
||||
'created_at' => '2021-03-11 06:28:24',
|
||||
'updated_at' => '2021-03-11 06:28:24',
|
||||
),
|
||||
20 =>
|
||||
array (
|
||||
'id' => 21,
|
||||
'company_id' => 12,
|
||||
'reference' => NULL,
|
||||
'bank_name' => 'Citibank',
|
||||
'holder_name' => 'ATVantic',
|
||||
'account_no' => '5629374569234',
|
||||
'type' => 1,
|
||||
'default' => 1,
|
||||
'status' => 2,
|
||||
'country_id' => 1,
|
||||
'deleted_at' => NULL,
|
||||
'created_at' => '2021-03-12 03:35:55',
|
||||
'updated_at' => '2021-03-12 03:36:00',
|
||||
),
|
||||
)
|
||||
));
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user