Skip to content

Commit

Permalink
Re-apply scope to get production store rollouts correctly for app
Browse files Browse the repository at this point in the history
  • Loading branch information
nid90 committed Nov 21, 2024
1 parent 72dd16e commit 600cfc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class App < ApplicationRecord
has_many :releases, through: :trains
has_many :step_runs, through: :releases
has_many :deployment_runs, through: :releases
has_many :production_store_rollouts, through: :releases
has_many :production_store_rollouts, -> { production }, through: :releases
has_many :builds, through: :releases
has_many :release_platforms, dependent: :destroy
has_many :release_platform_runs, through: :releases
Expand Down

0 comments on commit 600cfc7

Please sign in to comment.