2015-02-06 04:39:52 +01:00
|
|
|
<?php
|
2017-12-10 09:02:26 +01:00
|
|
|
/**
|
|
|
|
* DatabaseSeeder.php
|
2020-03-17 16:06:30 +00:00
|
|
|
* Copyright (c) 2019 james@firefly-iii.org.
|
2017-12-10 09:02:26 +01:00
|
|
|
*
|
2019-10-02 06:38:38 +02:00
|
|
|
* This file is part of Firefly III (https://github.com/firefly-iii).
|
2017-12-10 09:02:26 +01:00
|
|
|
*
|
2019-10-02 06:38:38 +02:00
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU Affero General Public License as
|
|
|
|
* published by the Free Software Foundation, either version 3 of the
|
|
|
|
* License, or (at your option) any later version.
|
2017-12-10 09:02:26 +01:00
|
|
|
*
|
2019-10-02 06:38:38 +02:00
|
|
|
* This program is distributed in the hope that it will be useful,
|
2017-12-10 09:02:26 +01:00
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
2019-10-02 06:38:38 +02:00
|
|
|
* GNU Affero General Public License for more details.
|
2017-12-10 09:02:26 +01:00
|
|
|
*
|
2019-10-02 06:38:38 +02:00
|
|
|
* You should have received a copy of the GNU Affero General Public License
|
|
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
2017-12-10 09:02:26 +01:00
|
|
|
*/
|
2017-03-25 13:41:17 +01:00
|
|
|
declare(strict_types=1);
|
2016-05-20 08:57:45 +02:00
|
|
|
|
2020-11-02 06:20:49 +01:00
|
|
|
namespace Database\Seeders;
|
|
|
|
|
2015-02-11 07:35:10 +01:00
|
|
|
use Illuminate\Database\Seeder;
|
|
|
|
|
|
|
|
/**
|
2020-03-17 16:06:30 +00:00
|
|
|
* Class DatabaseSeeder.
|
2015-02-11 07:35:10 +01:00
|
|
|
*/
|
|
|
|
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);
|
2018-03-07 20:21:36 +01:00
|
|
|
$this->call(ConfigSeeder::class);
|
2021-08-28 15:47:33 +02:00
|
|
|
$this->call(UserRoleSeeder::class);
|
2022-06-06 14:40:19 +02:00
|
|
|
$this->call(ExchangeRateSeeder::class);
|
2016-09-16 06:19:40 +02:00
|
|
|
}
|
2015-02-06 04:39:52 +01:00
|
|
|
}
|