Skip to content

Commit

Permalink
Fixes #36850 - Add indexes to speed up
Browse files Browse the repository at this point in the history
  applicability calculation when there are
  lots of module streams installed
  • Loading branch information
jeremylenz committed Oct 20, 2023
1 parent dc02aab commit b805d0f
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
class CreateIndexesForNvraAndEpoch < ActiveRecord::Migration[6.1]
def change
add_index :katello_installed_packages, :nvra
add_index :katello_installed_packages, [:nvra, :epoch]
end
end

0 comments on commit b805d0f

Please sign in to comment.