Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HOTFIX -- slight mistake in distribution ID #4778

Merged
merged 1 commit into from
Nov 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ def change
# that put them at a negative inventory. Later playback of the events with
# validation turned on then raised it as an error. For now we are deleting
# the distribution and event directly.
Event.where(id: 42075, eventable_type: 'Distribution', eventable_id: 789204).first.destroy
Distribution.find(789204).destroy
Event.where(id: 42075, eventable_type: 'Distribution', eventable_id: 78924).first.destroy
Distribution.find(78924).destroy
end
end
2 changes: 1 addition & 1 deletion db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.

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

Expand Down