Skip to content

Commit

Permalink
Fix data migration for scheduled release to release connection
Browse files Browse the repository at this point in the history
  • Loading branch information
nid90 committed Mar 7, 2024
1 parent 0c85ab0 commit d7e1e2f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def up

scheduled.each do |scheduled_release|
# skip if the scheduled release is not automatic
next unless scheduled_release.automatic?
next unless scheduled_release.is_automatic?

# find a release within a 10 minute window around the scheduled release schedule time
target_date = scheduled_release.scheduled_at
Expand Down

0 comments on commit d7e1e2f

Please sign in to comment.