Skip to content

Commit

Permalink
remove superfluous through associations
Browse files Browse the repository at this point in the history
  • Loading branch information
ezekg committed Dec 13, 2023
1 parent 0d167f3 commit a276caa
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions app/models/release_channel.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ class ReleaseChannel < ApplicationRecord
inverse_of: :channel
has_many :products,
through: :releases
has_many :licenses,
through: :products
has_many :users,
through: :products

has_account inverse_of: :release_channels

Expand Down
4 changes: 0 additions & 4 deletions app/models/release_engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ class ReleaseEngine < ApplicationRecord
through: :packages
has_many :products,
through: :packages
has_many :licenses,
through: :products
has_many :users,
through: :products

has_account inverse_of: :release_engines

Expand Down

0 comments on commit a276caa

Please sign in to comment.