Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
We cannot entirely drop the foreign key constraint, since it is originally created (and dropped) in v3.2.1.
Niek van der Kooy12d652bd0eb3
diff --git a/database/migrations/2014_12_24_191544_changes_for_v322.php b/database/migrations/2014_12_24_191544_changes_for_v322.phpindex 592892bb64..6ee2a55a2e 100644--- a/database/migrations/2014_12_24_191544_changes_for_v322.php+++ b/database/migrations/2014_12_24_191544_changes_for_v322.php@@ -59,11 +59,12 @@ class ChangesForV322 extends Migration});- // drop foreign key from budget_limits:+ // drop unique constraint from budget_limits:Schema::table('budget_limits', function (Blueprint $table) {$table->dropForeign('bid_foreign');$table->dropUnique('unique_bl_combi');+ $table->foreign('budget_id', 'bid_foreign')->references('id')->on('budgets')->onDelete('cascade');});