solve drop foreign issue on sqlite

This commit is contained in:
jayvirsinh_gohil
2021-06-22 18:44:02 +05:30
parent fca7d164a6
commit a52d5bc582

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