diff --git a/database/migrations/2016_01_06_153144_add_invoice_font_support.php b/database/migrations/2016_01_06_153144_add_invoice_font_support.php index 58a0bc11870c..e018324ac469 100644 --- a/database/migrations/2016_01_06_153144_add_invoice_font_support.php +++ b/database/migrations/2016_01_06_153144_add_invoice_font_support.php @@ -53,14 +53,14 @@ class AddInvoiceFontSupport extends Migration { if (Schema::hasColumn('accounts', 'header_font_id')) { Schema::table('accounts', function ($table) { - $table->dropForeign('accounts_header_font_foreign'); + $table->dropForeign('accounts_header_font_id_foreign'); $table->dropColumn('header_font_id'); }); } if (Schema::hasColumn('accounts', 'body_font_id')) { Schema::table('accounts', function ($table) { - $table->dropForeign('accounts_body_font_foreign'); + $table->dropForeign('accounts_body_font_id_foreign'); $table->dropColumn('body_font_id'); }); }