Fix for issue updating
This commit is contained in:
parent
7b5cd4f31c
commit
ce1717cf53
1 changed files with 2 additions and 2 deletions
|
|
@ -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_id_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_id_foreign');
|
||||
//$table->dropForeign('accounts_body_font_id_foreign');
|
||||
$table->dropColumn('body_font_id');
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue