mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-28 03:34:32 -06:00
23 lines
685 B
PHP
23 lines
685 B
PHP
<?php
|
|
declare(strict_types = 1);
|
|
|
|
use FireflyIII\Models\TransactionCurrency;
|
|
use Illuminate\Database\Seeder;
|
|
|
|
/**
|
|
* 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']);
|
|
TransactionCurrency::create(['code' => 'BRL', 'name' => 'Real', 'symbol' => 'R$']);
|
|
}
|
|
|
|
}
|