mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-05 21:53:08 -06:00
20 lines
563 B
PHP
20 lines
563 B
PHP
<?php
|
|
|
|
use Illuminate\Database\Seeder;
|
|
use FireflyIII\Models\TransactionCurrency;
|
|
/**
|
|
* Class TransactionCurrencySeeder
|
|
*/
|
|
class TransactionCurrencySeeder extends Seeder
|
|
{
|
|
public function run()
|
|
{
|
|
DB::table('transaction_currencies')->delete();
|
|
|
|
TransactionCurrency::create(['code' => 'EUR','name' => 'Euro','symbol' => '€']);
|
|
TransactionCurrency::create(['code' => 'USD','name' => 'US Dollar','symbol' => '$']);
|
|
TransactionCurrency::create(['code' => 'HUF','name' => 'Hungarian forint','symbol' => 'Ft']);
|
|
}
|
|
|
|
}
|