osb/database/seeds/CurrencyTableSeeder.php
2018-04-10 21:35:29 +10:00

23 lines
359 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->name = 'Australian Dollars';
$o->symbol = '$';
$o->threecode = 'AUD';
$o->active = TRUE;
$o->save();
}
}