Skip to content

Commit

Permalink
Merge pull request rubyforgood#4350 from rubyforgood/clear-events
Browse files Browse the repository at this point in the history
Clear events again!
  • Loading branch information
cielf committed May 13, 2024
2 parents 7dd5c81 + 1bf4ac0 commit a5a816f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions db/migrate/20240512140954_clear_events_once_again.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
class ClearEventsOnceAgain < ActiveRecord::Migration[7.0]
def change
Event.delete_all
Organization.all.each do |org|
SnapshotEvent.publish(org)
end
end
end

0 comments on commit a5a816f

Please sign in to comment.