diff --git a/app/database/migrations/2015_11_30_191504_remove_fk_company_id.php b/app/database/migrations/2015_11_30_191504_remove_fk_company_id.php new file mode 100644 index 0000000000..307585ef3f --- /dev/null +++ b/app/database/migrations/2015_11_30_191504_remove_fk_company_id.php @@ -0,0 +1,54 @@ +dropForeign('users_company_id_foreign'); + }); + + Schema::table('accessories', function(Blueprint $table) + { + $table->dropForeign('accessories_company_id_foreign'); + }); + + Schema::table('assets', function(Blueprint $table) + { + $table->dropForeign('assets_company_id_foreign'); + }); + + Schema::table('consumables', function(Blueprint $table) + { + $table->dropForeign('consumables_company_id_foreign'); + }); + + Schema::table('licenses', function(Blueprint $table) + { + $table->dropForeign('licenses_company_id_foreign'); + }); + + + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + // + } + +}