Merge branch 'drop-foreign-issue' into 'master'

solve drop foreign issue on sqlite

See merge request mohit.panjvani/crater-web!781
This commit is contained in:
Mohit Panjwani
2021-06-22 13:20:38 +00:00

View File

@ -25,7 +25,6 @@ class RemoveTemplateIdFromInvoicesAndEstimatesTable extends Migration
});
Schema::table('invoices', function (Blueprint $table) {
$table->dropForeign(['invoice_template_id']);
$table->dropColumn('invoice_template_id');
});
}
@ -40,7 +39,6 @@ class RemoveTemplateIdFromInvoicesAndEstimatesTable extends Migration
});
Schema::table('estimates', function (Blueprint $table) {
$table->dropForeign(['estimate_template_id']);
$table->dropColumn('estimate_template_id');
});
}