Sha256: d2ca9b62723f1177c5b9614af84e9379086e916c4e541364ec8e402deff28aaf

Contents?: true

Size: 530 Bytes

Versions: 193

Compression:

Stored size: 530 Bytes

Contents

class AddPulpProxyToHost < ActiveRecord::Migration[4.2]
  def change
    add_column :hosts,      :content_source_id, :integer
    add_column :hostgroups, :content_source_id, :integer

    add_index :hosts,      :content_source_id
    add_index :hostgroups, :content_source_id

    add_foreign_key :hosts,      :smart_proxies, :name => "hosts_content_source_id_fk", :column => "content_source_id"
    add_foreign_key :hostgroups, :smart_proxies, :name => "hostgroups_content_source_id_fk", :column => "content_source_id"
  end
end

Version data entries

193 entries across 193 versions & 1 rubygems

Version Path
katello-4.0.0.rc3 db/migrate/20140610083129_add_pulp_proxy_to_host.rb
katello-3.18.2.1 db/migrate/20140610083129_add_pulp_proxy_to_host.rb
katello-3.18.2 db/migrate/20140610083129_add_pulp_proxy_to_host.rb
katello-3.17.3 db/migrate/20140610083129_add_pulp_proxy_to_host.rb
katello-4.0.0.rc2 db/migrate/20140610083129_add_pulp_proxy_to_host.rb
katello-3.18.1.1 db/migrate/20140610083129_add_pulp_proxy_to_host.rb
katello-3.17.2 db/migrate/20140610083129_add_pulp_proxy_to_host.rb
katello-4.0.0.rc1 db/migrate/20140610083129_add_pulp_proxy_to_host.rb
katello-3.18.1 db/migrate/20140610083129_add_pulp_proxy_to_host.rb
katello-3.18.0 db/migrate/20140610083129_add_pulp_proxy_to_host.rb
katello-3.17.1 db/migrate/20140610083129_add_pulp_proxy_to_host.rb
katello-3.16.2 db/migrate/20140610083129_add_pulp_proxy_to_host.rb
katello-3.18.0.rc2.1 db/migrate/20140610083129_add_pulp_proxy_to_host.rb
katello-3.18.0.rc2 db/migrate/20140610083129_add_pulp_proxy_to_host.rb
katello-3.17.0 db/migrate/20140610083129_add_pulp_proxy_to_host.rb
katello-3.18.0.rc1 db/migrate/20140610083129_add_pulp_proxy_to_host.rb
katello-3.17.0.rc2.2 db/migrate/20140610083129_add_pulp_proxy_to_host.rb
katello-3.17.0.rc2.1 db/migrate/20140610083129_add_pulp_proxy_to_host.rb
katello-3.16.1.2 db/migrate/20140610083129_add_pulp_proxy_to_host.rb
katello-3.16.1.1 db/migrate/20140610083129_add_pulp_proxy_to_host.rb