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.12.1 db/migrate/20170718142148_create_katello_subscription_facet_pools.rb
katello-3.11.2 db/migrate/20170718142148_create_katello_subscription_facet_pools.rb
katello-3.10.2 db/migrate/20170718142148_create_katello_subscription_facet_pools.rb
katello-3.12.0 db/migrate/20170718142148_create_katello_subscription_facet_pools.rb
katello-3.12.0.rc2 db/migrate/20170718142148_create_katello_subscription_facet_pools.rb
katello-3.10.1.1 db/migrate/20170718142148_create_katello_subscription_facet_pools.rb
katello-3.12.0.rc1 db/migrate/20170718142148_create_katello_subscription_facet_pools.rb
katello-3.10.1 db/migrate/20170718142148_create_katello_subscription_facet_pools.rb
katello-3.11.1 db/migrate/20170718142148_create_katello_subscription_facet_pools.rb
katello-3.11.0 db/migrate/20170718142148_create_katello_subscription_facet_pools.rb
katello-3.11.0.rc2 db/migrate/20170718142148_create_katello_subscription_facet_pools.rb
katello-3.11.0.rc1 db/migrate/20170718142148_create_katello_subscription_facet_pools.rb
katello-3.10.0 db/migrate/20170718142148_create_katello_subscription_facet_pools.rb
katello-3.10.0.rc1.1 db/migrate/20170718142148_create_katello_subscription_facet_pools.rb
katello-3.9.1 db/migrate/20170718142148_create_katello_subscription_facet_pools.rb
katello-3.10.0.rc1 db/migrate/20170718142148_create_katello_subscription_facet_pools.rb
katello-3.9.0 db/migrate/20170718142148_create_katello_subscription_facet_pools.rb
katello-3.8.1 db/migrate/20170718142148_create_katello_subscription_facet_pools.rb
katello-3.9.0.rc2 db/migrate/20170718142148_create_katello_subscription_facet_pools.rb
katello-3.9.0.rc1 db/migrate/20170718142148_create_katello_subscription_facet_pools.rb