Skip to content

Commit 2877cc2

Browse files
authored
Merge pull request #4778 from rubyforgood/production
HOTFIX -- slight mistake in distribution ID
2 parents 893b3df + 2d5e3d8 commit 2877cc2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

db/migrate/20241112184800_fix_invalid_distribution_event20241112.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ def change
66
# that put them at a negative inventory. Later playback of the events with
77
# validation turned on then raised it as an error. For now we are deleting
88
# the distribution and event directly.
9-
Event.where(id: 42075, eventable_type: 'Distribution', eventable_id: 789204).first.destroy
10-
Distribution.find(789204).destroy
9+
Event.where(id: 42075, eventable_type: 'Distribution', eventable_id: 78924).first.destroy
10+
Distribution.find(78924).destroy
1111
end
1212
end

db/schema.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#
1111
# It's strongly recommended that you check this file into your version control system.
1212

13-
ActiveRecord::Schema[7.1].define(version: 2024_10_02_205346) do
13+
ActiveRecord::Schema[7.1].define(version: 2024_11_12_184800) do
1414
# These are extensions that must be enabled in order to support this database
1515
enable_extension "plpgsql"
1616

0 commit comments

Comments
 (0)