From 33c830a4320c4b70ce90c570faff2e11692db926 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sat, 17 Jan 2015 08:58:30 +0100 Subject: [PATCH] Cleaned up seeders. --- app/database/seeds/AccountTypeSeeder.php | 33 ++++++------------------ app/database/seeds/DatabaseSeeder.php | 2 -- 2 files changed, 8 insertions(+), 27 deletions(-) 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'); } }