osb/database/seeders/CurrencyTableSeeder.php
2022-02-02 10:56:28 +11:00

27 lines
394 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 = 6;
$o->name = 'Australian Dollars';
$o->active = TRUE;
$o->symbol = '$';
$o->iso = 'AUD';
$o->rounding = 2;
$o->save();
}
}