osb/database/seeds/CurrencyTableSeeder.php
2018-07-06 16:57:49 +10:00

25 lines
372 B
PHP

<?php
use Illuminate\Database\Seeder;
use App\Models\Currency;
class CurrencyTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$o = new Currency;
$o->id = 610;
$o->name = 'Australian Dollars';
$o->symbol = '$';
$o->iso_code = 'AUD';
$o->rounding = 2;
$o->active = TRUE;
$o->save();
}
}