mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
26 lines
856 B
PHP
26 lines
856 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
use FireflyIII\Models\AccountType;
|
|
use Illuminate\Database\Seeder;
|
|
|
|
/**
|
|
* Class AccountTypeSeeder
|
|
*/
|
|
class AccountTypeSeeder extends Seeder
|
|
{
|
|
public function run()
|
|
{
|
|
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]);
|
|
}
|
|
}
|