Sha256: dbbcd080b2e253d6dcd452e7c02b8769549c5fa4f1f93ac513352149fc87684f

Contents?: true

Size: 463 Bytes

Versions: 40

Compression:

Stored size: 463 Bytes

Contents

class AddKickstartRepositoryToHostsAndHostgroups < ActiveRecord::Migration
  def change
    add_column :katello_content_facets, :kickstart_repository_id, :integer, :null => true
    add_foreign_key :katello_content_facets, :katello_repositories, :column => :kickstart_repository_id

    add_column :hostgroups, :kickstart_repository_id, :integer, :null => true
    add_foreign_key :hostgroups, :katello_repositories, :column => :kickstart_repository_id
  end
end

Version data entries

40 entries across 40 versions & 1 rubygems

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