Skip to content

Commit d648cb3

Browse files
authored
Slight bugfix on migration (#4589)
1 parent e1b9ee6 commit d648cb3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

db/migrate/20240811140508_clear_events_with_feeling.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ class ClearEventsWithFeeling < ActiveRecord::Migration[7.1]
22
def change
33
no_change_ids = [9, 33, 155]
44
Event.where.not(organization_id: no_change_ids).delete_all
5-
Organization.where.not(organization_id: no_change_ids).all.each do |org|
5+
Organization.where.not(id: no_change_ids).all.each do |org|
66
SnapshotEvent.publish(org)
77
end
88
end

0 commit comments

Comments
 (0)