mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-03 12:47:17 -06:00
19 lines
520 B
PHP
19 lines
520 B
PHP
|
<?php
|
||
|
|
||
|
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']);
|
||
|
}
|
||
|
|
||
|
}
|