2015-02-06 04:39:52 +01:00
|
|
|
<?php
|
2017-12-10 09:02:26 +01:00
|
|
|
/**
|
|
|
|
* DatabaseSeeder.php
|
|
|
|
* Copyright (c) 2017 thegrumpydictator@gmail.com
|
|
|
|
*
|
|
|
|
* This file is part of Firefly III.
|
|
|
|
*
|
|
|
|
* Firefly III is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* Firefly III is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2017-03-25 13:41:17 +01:00
|
|
|
declare(strict_types=1);
|
2016-05-20 08:57:45 +02:00
|
|
|
|
2015-02-11 07:35:10 +01:00
|
|
|
use Illuminate\Database\Seeder;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Class DatabaseSeeder
|
|
|
|
*/
|
|
|
|
class DatabaseSeeder extends Seeder
|
|
|
|
{
|
2015-02-06 04:41:00 +01:00
|
|
|
/**
|
|
|
|
* Run the database seeds.
|
|
|
|
*/
|
|
|
|
public function run()
|
|
|
|
{
|
2016-09-16 07:16:09 +02:00
|
|
|
$this->call(AccountTypeSeeder::class);
|
|
|
|
$this->call(TransactionCurrencySeeder::class);
|
|
|
|
$this->call(TransactionTypeSeeder::class);
|
|
|
|
$this->call(PermissionSeeder::class);
|
2017-08-20 12:41:31 +02:00
|
|
|
$this->call(LinkTypeSeeder::class);
|
2016-09-16 06:19:40 +02:00
|
|
|
}
|
2015-02-06 04:39:52 +01:00
|
|
|
}
|