Skip to content

Commit

Permalink
Data Fix re started request has been fulfilled (#4940)
Browse files Browse the repository at this point in the history
  • Loading branch information
cielf authored Jan 21, 2025
1 parent 68ff55e commit 42c25ae
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions db/migrate/20250121200831_fix_for20250120_request_problem.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
class FixFor20250120RequestProblem < ActiveRecord::Migration[7.2]
def up
# Merely marking request 44040 fulfilled.
# It already has a distribution associated with it, so we don't have to fix that
return unless Rails.env.production?
request = Request.find("44040")
request.status = 2
request.save!
end
end

0 comments on commit 42c25ae

Please sign in to comment.