Skip to content

Commit

Permalink
Fix a migration file
Browse files Browse the repository at this point in the history
  • Loading branch information
takahashim committed Mar 16, 2024
1 parent 54a1f52 commit 518c18f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ def up
models = ActiveRecord::Base.descendants.select { |c| c.included_modules.include?(Decidim::HasReference) }

models.each do |model|
next unless model.table_exists?

model.find_each(&:touch)
end
end
Expand Down

0 comments on commit 518c18f

Please sign in to comment.