Sha256: d75db24febdac1832db613c8d5cda16f1e4eac1cbef245b8ba066c6a0cf55655

Contents?: true

Size: 797 Bytes

Versions: 193

Compression:

Stored size: 797 Bytes

Contents

class CreateKatelloSubscriptionFacetPools < ActiveRecord::Migration[4.2]
  def change
    create_table :katello_subscription_facet_pools do |t|
      t.column :subscription_facet_id, :integer, required: true
      t.column :pool_id, :integer, required: true
    end
    add_index "katello_subscription_facet_pools", [:pool_id, :subscription_facet_id], :unique => true,
              :name => "index_katello_sub_facet_pools_on_sfid_poolid"

    add_foreign_key "katello_subscription_facet_pools", "katello_pools",
                    :name => "katello_sub_facet_pools_pool_id_fk", :column => "pool_id"
    add_foreign_key "katello_subscription_facet_pools", "katello_subscription_facets",
                   :name => "katello_sub_facet_pools_sf_id_fk", :column => "subscription_facet_id"
  end
end

Version data entries

193 entries across 193 versions & 1 rubygems

Version Path
katello-3.17.0.rc2 db/migrate/20170718142148_create_katello_subscription_facet_pools.rb
katello-3.16.1 db/migrate/20170718142148_create_katello_subscription_facet_pools.rb
katello-3.17.0.rc1 db/migrate/20170718142148_create_katello_subscription_facet_pools.rb
katello-3.16.0 db/migrate/20170718142148_create_katello_subscription_facet_pools.rb
katello-3.16.0.rc5.1 db/migrate/20170718142148_create_katello_subscription_facet_pools.rb
katello-3.16.0.rc5 db/migrate/20170718142148_create_katello_subscription_facet_pools.rb
katello-3.16.0.rc4.1 db/migrate/20170718142148_create_katello_subscription_facet_pools.rb
katello-3.15.3.1 db/migrate/20170718142148_create_katello_subscription_facet_pools.rb
katello-3.15.3 db/migrate/20170718142148_create_katello_subscription_facet_pools.rb
katello-3.16.0.rc4 db/migrate/20170718142148_create_katello_subscription_facet_pools.rb
katello-3.16.0.rc3.1 db/migrate/20170718142148_create_katello_subscription_facet_pools.rb
katello-3.15.2 db/migrate/20170718142148_create_katello_subscription_facet_pools.rb
katello-3.16.0.rc3 db/migrate/20170718142148_create_katello_subscription_facet_pools.rb
katello-3.16.0.rc2.1 db/migrate/20170718142148_create_katello_subscription_facet_pools.rb
katello-3.16.0.rc2 db/migrate/20170718142148_create_katello_subscription_facet_pools.rb
katello-3.15.1.1 db/migrate/20170718142148_create_katello_subscription_facet_pools.rb
katello-3.16.0.rc1.1 db/migrate/20170718142148_create_katello_subscription_facet_pools.rb
katello-3.15.1 db/migrate/20170718142148_create_katello_subscription_facet_pools.rb
katello-3.16.0.rc1 db/migrate/20170718142148_create_katello_subscription_facet_pools.rb
katello-3.15.0.1 db/migrate/20170718142148_create_katello_subscription_facet_pools.rb