firefly-iii/app/database/seeds/TransactionCurrencySeeder.php
2014-12-24 14:02:21 +01:00

17 lines
386 B
PHP

<?php
/**
* Class TransactionCurrencySeeder
*/
class TransactionCurrencySeeder extends Seeder
{
public function run()
{
DB::table('transaction_currencies')->delete();
TransactionCurrency::create(['code' => 'EUR','name' => 'Euro','symbol' => '&#8364;']);
TransactionCurrency::create(['code' => 'USD','name' => 'US Dollar','symbol' => '$']);
}
}