Fix orphaned Entropy records upon Account destruction
This commit is contained in:
@@ -8,6 +8,7 @@ class Account < ApplicationRecord
|
||||
has_many :webhooks, dependent: :destroy
|
||||
has_many :tags, dependent: :destroy
|
||||
has_many :columns, dependent: :destroy
|
||||
has_many :entropies, dependent: :destroy
|
||||
has_many :exports, class_name: "Account::Export", dependent: :destroy
|
||||
has_many :imports, class_name: "Account::Import", dependent: :destroy
|
||||
|
||||
|
||||
Reference in New Issue
Block a user