Skip to content

Firefly III: a personal finances manager

Cleaned up seeders.

James Cole33c830a4320c
diff --git a/app/database/seeds/AccountTypeSeeder.php b/app/database/seeds/AccountTypeSeeder.php
index f0fd27b341..93523755ac 100644
--- a/app/database/seeds/AccountTypeSeeder.php
+++ b/app/database/seeds/AccountTypeSeeder.php
@@ -10,31 +10,14 @@ class AccountTypeSeeder extends Seeder
{
DB::table('account_types')->delete();
- AccountType::create(
- ['type' => 'Default account', 'editable' => true]
- );
- AccountType::create(
- ['type' => 'Cash account', 'editable' => false]
- );
- AccountType::create(
- ['type' => 'Asset account', 'editable' => true]
- );
- AccountType::create(
- ['type' => 'Expense account', 'editable' => true]
- );
- AccountType::create(
- ['type' => 'Revenue account', 'editable' => true]
- );
- AccountType::create(
- ['type' => 'Initial balance account', 'editable' => false]
- );
- AccountType::create(
- ['type' => 'Beneficiary account', 'editable' => true]
- );
-
- AccountType::create(
- ['type' => 'Import account', 'editable' => false]
- );
+ AccountType::create(['type' => 'Default account', 'editable' => true]);
+ AccountType::create(['type' => 'Cash account', 'editable' => false]);
+ AccountType::create(['type' => 'Asset account', 'editable' => true]);
+ AccountType::create(['type' => 'Expense account', 'editable' => true]);
+ AccountType::create(['type' => 'Revenue account', 'editable' => true]);
+ AccountType::create(['type' => 'Initial balance account', 'editable' => false]);
+ AccountType::create(['type' => 'Beneficiary account', 'editable' => true]);
+ AccountType::create(['type' => 'Import account', 'editable' => false]);
}
diff --git a/app/database/seeds/DatabaseSeeder.php b/app/database/seeds/DatabaseSeeder.php
index 29319ca38c..ec034ef5f7 100644
--- a/app/database/seeds/DatabaseSeeder.php
+++ b/app/database/seeds/DatabaseSeeder.php
@@ -18,8 +18,6 @@ class DatabaseSeeder extends Seeder
$this->call('AccountTypeSeeder');
$this->call('TransactionCurrencySeeder');
$this->call('TransactionTypeSeeder');
- $this->call('DefaultUserSeeder');
- $this->call('TestContentSeeder');
}
}