Sha256: 4974c0761bb8520b5239b9e5ac73a0ed8898755f5a8b5cbd3cc845fc37fa4b27
Contents?: true
Size: 850 Bytes
Versions: 70
Compression:
Stored size: 850 Bytes
Contents
class AddApplicableDebs < ActiveRecord::Migration[5.2] def change create_table :katello_content_facet_applicable_debs do |t| t.references :content_facet, null: false, index: { name: :katello_cf_applicable_debs_cf_idx } t.references :deb, :null => false, :index => { name: :katello_cf_applicable_debs_deb_idx } end add_index :katello_content_facet_applicable_debs, [:deb_id, :content_facet_id], name: 'index_k_content_facet_deb_rid_cfid', unique: true add_index :katello_content_facet_applicable_debs, :content_facet_id, name: 'index_k_content_facet_applicable_debs_on_content_facet_id' add_column :katello_content_facets, :applicable_deb_count, :integer, null: false, default: 0 add_column :katello_content_facets, :upgradable_deb_count, :integer, null: false, default: 0 end end
Version data entries
70 entries across 70 versions & 1 rubygems