We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1b9ee6 commit d648cb3Copy full SHA for d648cb3
1 file changed
db/migrate/20240811140508_clear_events_with_feeling.rb
@@ -2,7 +2,7 @@ class ClearEventsWithFeeling < ActiveRecord::Migration[7.1]
2
def change
3
no_change_ids = [9, 33, 155]
4
Event.where.not(organization_id: no_change_ids).delete_all
5
- Organization.where.not(organization_id: no_change_ids).all.each do |org|
+ Organization.where.not(id: no_change_ids).all.each do |org|
6
SnapshotEvent.publish(org)
7
end
8
0 commit comments