mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-10 06:32:05 +00:00
Add new correction command, will probably fix #10833
This commit is contained in:
@@ -140,7 +140,7 @@ return new class () extends Migration {
|
||||
$table->dropColumn('transaction_currency_id');
|
||||
|
||||
// 2. make column non-nullable.
|
||||
$table->unsignedInteger('account_id')->change();
|
||||
$table->unsignedInteger('account_id')->nullable()->change();
|
||||
|
||||
// 5. add new index
|
||||
$table->foreign('account_id')->references('id')->on('accounts')->onDelete('cascade');
|
||||
|
Reference in New Issue
Block a user