osb/database/seeders/CurrencyTableSeeder.php
2021-06-30 14:46:49 +10:00

27 lines
401 B
PHP

<?php
namespace Database\Seeders;
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();
}
}