A free open source IT asset/license management system
Sync paveit command with new database tables.
Daniel Meltzer2e936a98831d
diff --git a/app/Console/Commands/PaveIt.php b/app/Console/Commands/PaveIt.phpindex d30917a735..32663b0a92 100644--- a/app/Console/Commands/PaveIt.php+++ b/app/Console/Commands/PaveIt.php@@ -83,11 +83,20 @@ class PaveIt extends CommandDB::statement('delete from asset_uploads');DB::statement('delete from action_logs');DB::statement('delete from checkout_requests');+ DB::statement('delete from checkout_acceptances');DB::statement('delete from consumables_users');DB::statement('delete from custom_field_custom_fieldset');DB::statement('delete from custom_fields');DB::statement('delete from custom_fieldsets');DB::statement('delete from components_assets');+ DB::statement('delete from kits');+ DB::statement('delete from kits_accessories');+ DB::statement('delete from kits_consumables');+ DB::statement('delete from kits_licenses');+ DB::statement('delete from kits_models');+ DB::statement('delete from login_attempts');+ DB::statement('delete from models_custom_fields');+ DB::statement('delete from permission_groups');DB::statement('delete from password_resets');DB::statement('delete from requested_assets');DB::statement('delete from requests');@@ -104,7 +113,10 @@ class PaveIt extends Command\DB::statement('drop table IF EXISTS assets');\DB::statement('drop table IF EXISTS categories');\DB::statement('drop table IF EXISTS checkout_requests');+ \DB::statement('drop table IF EXISTS checkout_acceptances');\DB::statement('drop table IF EXISTS companies');+ \DB::statement('drop table IF EXISTS components');+ \DB::statement('drop table IF EXISTS components_assets');\DB::statement('drop table IF EXISTS consumables_users');\DB::statement('drop table IF EXISTS consumables');\DB::statement('drop table IF EXISTS custom_field_custom_fieldset');@@ -114,11 +126,17 @@ class PaveIt extends Command\DB::statement('drop table IF EXISTS departments');\DB::statement('drop table IF EXISTS groups');\DB::statement('drop table IF EXISTS history');- \DB::statement('drop table IF EXISTS components');- \DB::statement('drop table IF EXISTS components_assets');+ \DB::statement('drop table IF EXISTS kits');+ \DB::statement('drop table IF EXISTS kits_accessories');+ \DB::statement('drop table IF EXISTS kits_consumables');+ \DB::statement('drop table IF EXISTS kits_licenses');+ \DB::statement('drop table IF EXISTS kits_models');+ \DB::statement('drop table IF EXISTS models_custom_fields');+ \DB::statement('drop table IF EXISTS permission_groups');\DB::statement('drop table IF EXISTS license_seats');\DB::statement('drop table IF EXISTS licenses');\DB::statement('drop table IF EXISTS locations');+ \DB::statement('drop table IF EXISTS login_attempts');\DB::statement('drop table IF EXISTS manufacturers');\DB::statement('drop table IF EXISTS models');\DB::statement('drop table IF EXISTS migrations');