mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-18 02:03:40 +00:00
Built a routine that will allow you to completely delete an account.
This commit is contained in:
@@ -41,6 +41,9 @@ class CreateAccountMetaTable extends Migration
|
||||
|
||||
$table->unique(['account_id', 'name']);
|
||||
|
||||
// link to account!
|
||||
$table->foreign('account_id')->references('id')->on('accounts')->onDelete('cascade');
|
||||
|
||||
|
||||
}
|
||||
);
|
||||
|
Reference in New Issue
Block a user