mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-28 03:34:32 -06:00
22 lines
492 B
PHP
22 lines
492 B
PHP
<?php
|
|
use FireflyIII\Models\TransactionType;
|
|
use Illuminate\Database\Seeder;
|
|
|
|
/**
|
|
* Class TransactionTypeSeeder
|
|
*/
|
|
class TransactionTypeSeeder extends Seeder
|
|
{
|
|
public function run()
|
|
{
|
|
|
|
DB::table('transaction_types')->delete();
|
|
|
|
TransactionType::create(['type' => 'Withdrawal']);
|
|
TransactionType::create(['type' => 'Deposit']);
|
|
TransactionType::create(['type' => 'Transfer']);
|
|
TransactionType::create(['type' => 'Opening balance']);
|
|
}
|
|
|
|
}
|