2018-04-10 11:23:13 +00:00
|
|
|
<?php
|
|
|
|
|
2021-06-30 01:06:20 +00:00
|
|
|
namespace Database\Seeders;
|
|
|
|
|
2018-04-10 11:23:13 +00:00
|
|
|
use Illuminate\Database\Seeder;
|
2018-06-18 11:51:20 +00:00
|
|
|
|
2018-04-10 11:23:13 +00:00
|
|
|
use App\Models\Currency;
|
|
|
|
|
|
|
|
class CurrencyTableSeeder extends Seeder
|
|
|
|
{
|
2018-06-18 11:51:20 +00:00
|
|
|
/**
|
|
|
|
* Run the database seeds.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function run()
|
|
|
|
{
|
|
|
|
$o = new Currency;
|
2018-07-06 06:57:49 +00:00
|
|
|
$o->id = 610;
|
2018-06-18 11:51:20 +00:00
|
|
|
$o->name = 'Australian Dollars';
|
|
|
|
$o->symbol = '$';
|
|
|
|
$o->iso_code = 'AUD';
|
|
|
|
$o->rounding = 2;
|
|
|
|
$o->active = TRUE;
|
|
|
|
$o->save();
|
2018-04-10 11:23:13 +00:00
|
|
|
}
|
2018-06-19 12:31:49 +00:00
|
|
|
}
|