firefly-iii/database/seeds/AccountTypeSeeder.php

26 lines
856 B
PHP
Raw Normal View History

2015-02-05 21:41:00 -06:00
<?php
2017-03-25 07:41:17 -05:00
declare(strict_types=1);
2016-05-20 01:57:45 -05:00
2015-02-05 22:01:24 -06:00
use FireflyIII\Models\AccountType;
2015-02-11 00:35:10 -06:00
use Illuminate\Database\Seeder;
2015-02-05 21:41:00 -06:00
/**
* Class AccountTypeSeeder
*/
class AccountTypeSeeder extends Seeder
{
public function run()
{
2017-11-18 08:53:27 -06:00
AccountType::create(['type' => AccountType::DEFAULT]);
AccountType::create(['type' => AccountType::CASH]);
AccountType::create(['type' => AccountType::ASSET]);
AccountType::create(['type' => AccountType::EXPENSE]);
AccountType::create(['type' => AccountType::REVENUE]);
AccountType::create(['type' => AccountType::INITIAL_BALANCE]);
AccountType::create(['type' => AccountType::BENEFICIARY]);
AccountType::create(['type' => AccountType::IMPORT]);
AccountType::create(['type' => AccountType::LOAN]);
AccountType::create(['type' => AccountType::RECONCILIATION]);
2015-02-05 21:41:00 -06:00
}
2017-11-15 03:53:17 -06:00
}