Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
rename foreign key
James Coleccaace707efb
diff --git a/database/migrations/2023_10_21_113213_add_currency_pivot_tables.php b/database/migrations/2023_10_21_113213_add_currency_pivot_tables.phpindex 32a4b9b5dc..cf8cda85a7 100644--- a/database/migrations/2023_10_21_113213_add_currency_pivot_tables.php+++ b/database/migrations/2023_10_21_113213_add_currency_pivot_tables.php@@ -42,7 +42,7 @@ return new class () extends Migration {$table->boolean('group_default')->default(false);$table->foreign('user_group_id')->references('id')->on('user_groups')->onDelete('cascade');$table->foreign('transaction_currency_id')->references('id')->on('transaction_currencies')->onDelete('cascade');- $table->unique(['user_group_id', 'transaction_currency_id'], 'unique_combo');+ $table->unique(['user_group_id', 'transaction_currency_id'], 'unique_combo_ug');});} catch (QueryException $e) {app('log')->error(sprintf('Could not create table "transaction_currency_user_group": %s', $e->getMessage()));