Skip to content

Commit

Permalink
Merge pull request #607 from ayuki-joto/refactor/update-destroy-orgni…
Browse files Browse the repository at this point in the history
…zation

feat: update destroy organization
  • Loading branch information
ayuki-joto authored Jul 10, 2024
2 parents a403697 + 9119ff7 commit 7cb8a61
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 7cb8a61

Please sign in to comment.