Skip to content

A free open source IT asset/license management system

Reference the correct table in migration down method

Marcus Mooreb8b2543b0dca
diff --git a/database/migrations/2017_03_10_210807_add_fields_to_manufacturer.php b/database/migrations/2017_03_10_210807_add_fields_to_manufacturer.php
index 0d05a680c1..05af7c8316 100644
--- a/database/migrations/2017_03_10_210807_add_fields_to_manufacturer.php
+++ b/database/migrations/2017_03_10_210807_add_fields_to_manufacturer.php
@@ -28,7 +28,7 @@ class AddFieldsToManufacturer extends Migration
*/
public function down()
{
- Schema::table('settings', function ($table) {
+ Schema::table('manufacturers', function ($table) {
$table->dropColumn('url');
$table->dropColumn('support_url');
$table->dropColumn('support_phone');