Skip to content

Commit

Permalink
feat: update destroy organization
Browse files Browse the repository at this point in the history
  • Loading branch information
ayuki-joto committed Jul 9, 2024
1 parent a403697 commit 9119ff7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/commands/decidim/organizations/destroy_organization.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9119ff7

Please sign in to comment.