mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-28 04:01:10 -04:00
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:
@ -25,7 +25,6 @@ class RemoveTemplateIdFromInvoicesAndEstimatesTable extends Migration
|
|||||||
});
|
});
|
||||||
|
|
||||||
Schema::table('invoices', function (Blueprint $table) {
|
Schema::table('invoices', function (Blueprint $table) {
|
||||||
$table->dropForeign(['invoice_template_id']);
|
|
||||||
$table->dropColumn('invoice_template_id');
|
$table->dropColumn('invoice_template_id');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -40,7 +39,6 @@ class RemoveTemplateIdFromInvoicesAndEstimatesTable extends Migration
|
|||||||
});
|
});
|
||||||
|
|
||||||
Schema::table('estimates', function (Blueprint $table) {
|
Schema::table('estimates', function (Blueprint $table) {
|
||||||
$table->dropForeign(['estimate_template_id']);
|
|
||||||
$table->dropColumn('estimate_template_id');
|
$table->dropColumn('estimate_template_id');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user