mirror of
https://gitlab.com/uldvstar/exchange-2.0.git
synced 2026-08-19 04:24:16 +00:00
70 lines
1.9 KiB
PHP
70 lines
1.9 KiB
PHP
<?php
|
|
|
|
namespace Database\Seeders;
|
|
|
|
use Illuminate\Database\Seeder;
|
|
|
|
class CurrenciesTableDevelopmentSeeder extends Seeder
|
|
{
|
|
|
|
/**
|
|
* Auto generated seed file
|
|
*
|
|
* @return void
|
|
*/
|
|
public function run()
|
|
{
|
|
|
|
|
|
\DB::table('currencies')->delete();
|
|
|
|
\DB::table('currencies')->insert(array (
|
|
0 =>
|
|
array (
|
|
'id' => 1,
|
|
'country_id' => 1,
|
|
'name' => 'Malaysian Ringgit',
|
|
'short_code' => 'MYR',
|
|
'symbol' => 'RM',
|
|
'deleted_at' => NULL,
|
|
'created_at' => '2021-03-09 07:30:20',
|
|
'updated_at' => '2021-03-09 07:30:20',
|
|
),
|
|
1 =>
|
|
array (
|
|
'id' => 2,
|
|
'country_id' => 2,
|
|
'name' => 'Yuan Renminbi',
|
|
'short_code' => 'RMB',
|
|
'symbol' => '¥',
|
|
'deleted_at' => NULL,
|
|
'created_at' => '2021-03-09 07:30:20',
|
|
'updated_at' => '2021-03-09 07:30:20',
|
|
),
|
|
2 =>
|
|
array (
|
|
'id' => 3,
|
|
'country_id' => 3,
|
|
'name' => 'US Dollar',
|
|
'short_code' => 'USD',
|
|
'symbol' => NULL,
|
|
'deleted_at' => NULL,
|
|
'created_at' => '2021-03-09 07:49:07',
|
|
'updated_at' => '2021-03-09 07:49:07',
|
|
),
|
|
3 =>
|
|
array (
|
|
'id' => 4,
|
|
'country_id' => 4,
|
|
'name' => 'East Caribbean Dollar',
|
|
'short_code' => 'XCD',
|
|
'symbol' => NULL,
|
|
'deleted_at' => '2021-03-09 09:30:35',
|
|
'created_at' => '2021-03-09 09:30:28',
|
|
'updated_at' => '2021-03-09 09:30:35',
|
|
),
|
|
));
|
|
|
|
|
|
}
|
|
} |