diff --git a/app/commands/decidim/organizations/destroy_organization.rb b/app/commands/decidim/organizations/destroy_organization.rb index b48f7b309..0009ac846 100644 --- a/app/commands/decidim/organizations/destroy_organization.rb +++ b/app/commands/decidim/organizations/destroy_organization.rb @@ -33,6 +33,10 @@ def call end end + Decidim::TermCustomizer::Constraint.where(organization: organization).delete_all + + Decidim::EditorImage.where(organization: organization).delete_all + Decidim::DecidimAwesome::EditorImage.where(organization: organization).delete_all Decidim::ActionLog.where(organization: organization).delete_all