mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-12 22:22:32 +01:00
Bug fix
This commit is contained in:
parent
2dc3ce9128
commit
acbfa46062
@ -53,14 +53,14 @@ class AddInvoiceFontSupport extends Migration
|
|||||||
{
|
{
|
||||||
if (Schema::hasColumn('accounts', 'header_font_id')) {
|
if (Schema::hasColumn('accounts', 'header_font_id')) {
|
||||||
Schema::table('accounts', function ($table) {
|
Schema::table('accounts', function ($table) {
|
||||||
$table->dropForeign('accounts_header_font_foreign');
|
$table->dropForeign('accounts_header_font_id_foreign');
|
||||||
$table->dropColumn('header_font_id');
|
$table->dropColumn('header_font_id');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Schema::hasColumn('accounts', 'body_font_id')) {
|
if (Schema::hasColumn('accounts', 'body_font_id')) {
|
||||||
Schema::table('accounts', function ($table) {
|
Schema::table('accounts', function ($table) {
|
||||||
$table->dropForeign('accounts_body_font_foreign');
|
$table->dropForeign('accounts_body_font_id_foreign');
|
||||||
$table->dropColumn('body_font_id');
|
$table->dropColumn('body_font_id');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user