Fix orphaned Entropy records upon Account destruction

This commit is contained in:
Stanko K.R.
2026-01-29 11:32:26 +01:00
parent 0452d243e1
commit 2cb77eaaf7
+1
View File
@@ -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