Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Make column nullable so migration does not fail.
James Colef33766a0629f
diff --git a/database/migrations/2024_11_30_075826_multi_piggy.php b/database/migrations/2024_11_30_075826_multi_piggy.phpindex 2018252dc8..fb47184a6b 100644--- a/database/migrations/2024_11_30_075826_multi_piggy.php+++ b/database/migrations/2024_11_30_075826_multi_piggy.php@@ -23,7 +23,8 @@ return new class () extends Migration {});Schema::table('piggy_banks', static function (Blueprint $table): void {// 3. add currency- $table->integer('transaction_currency_id', false, true)->after('account_id');++ $table->integer('transaction_currency_id', false, true)->after('account_id')->nullable();$table->foreign('transaction_currency_id', 'unique_currency')->references('id')->on('transaction_currencies')->onDelete('cascade');});Schema::table('piggy_banks', static function (Blueprint $table): void {