firefly-iii/database/seeds/AccountTypeSeeder.php

37 lines
1023 B
PHP
Raw Normal View History

2015-02-05 21:41:00 -06:00
<?php
/**
* AccountTypeSeeder.php
* Copyright (C) 2016 thegrumpydictator@gmail.com
*
* This software may be modified and distributed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International License.
*
* See the LICENSE file for details.
*/
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()
{
2016-06-17 07:06:38 -05:00
AccountType::create(['type' => 'Default account']);
AccountType::create(['type' => 'Cash account']);
AccountType::create(['type' => 'Asset account']);
AccountType::create(['type' => 'Expense account']);
AccountType::create(['type' => 'Revenue account']);
AccountType::create(['type' => 'Initial balance account']);
AccountType::create(['type' => 'Beneficiary account']);
AccountType::create(['type' => 'Import account']);
2017-02-18 02:32:10 -06:00
AccountType::create(['type' => 'Loan']);
2015-02-05 21:41:00 -06:00
}
}