1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00
This commit is contained in:
Hillel Coren 2016-01-07 13:16:12 +02:00
parent 2dc3ce9128
commit acbfa46062

View File

@ -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');
});
}