This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
site-base/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();
}
}