Sha256: ee3fc906c64b391e3117a4936be133fa8db332e448b6a458724aa128710cb4fb

Contents?: true

Size: 307 Bytes

Versions: 28

Compression:

Stored size: 307 Bytes

Contents

class AddUserToKatelloSubscriptionFacets < ActiveRecord::Migration
  def change
    add_column :katello_subscription_facets, :user_id, :integer
    add_index :katello_subscription_facets, [:user_id], :unique => true
    add_foreign_key "katello_subscription_facets", "users", :column => "user_id"
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
katello-3.5.2 db/migrate/20161003204325_add_user_to_katello_subscription_facets.rb
katello-3.5.1.1 db/migrate/20161003204325_add_user_to_katello_subscription_facets.rb
katello-3.5.1 db/migrate/20161003204325_add_user_to_katello_subscription_facets.rb
katello-3.5.0.1 db/migrate/20161003204325_add_user_to_katello_subscription_facets.rb
katello-3.5.0 db/migrate/20161003204325_add_user_to_katello_subscription_facets.rb
katello-3.5.0.rc2 db/migrate/20161003204325_add_user_to_katello_subscription_facets.rb
katello-3.5.0.rc1 db/migrate/20161003204325_add_user_to_katello_subscription_facets.rb
katello-3.4.5 db/migrate/20161003204325_add_user_to_katello_subscription_facets.rb
katello-3.4.4 db/migrate/20161003204325_add_user_to_katello_subscription_facets.rb
katello-3.4.2 db/migrate/20161003204325_add_user_to_katello_subscription_facets.rb
katello-3.4.1 db/migrate/20161003204325_add_user_to_katello_subscription_facets.rb
katello-3.4.0.2 db/migrate/20161003204325_add_user_to_katello_subscription_facets.rb
katello-3.4.0.1 db/migrate/20161003204325_add_user_to_katello_subscription_facets.rb
katello-3.3.2 db/migrate/20161003204325_add_user_to_katello_subscription_facets.rb
katello-3.4.0 db/migrate/20161003204325_add_user_to_katello_subscription_facets.rb
katello-3.4.0.rc2 db/migrate/20161003204325_add_user_to_katello_subscription_facets.rb
katello-3.4.0.rc1 db/migrate/20161003204325_add_user_to_katello_subscription_facets.rb
katello-3.3.1.1 db/migrate/20161003204325_add_user_to_katello_subscription_facets.rb
katello-3.3.1 db/migrate/20161003204325_add_user_to_katello_subscription_facets.rb
katello-3.3.0.1 db/migrate/20161003204325_add_user_to_katello_subscription_facets.rb