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.3.1 db/migrate/20140610083129_add_pulp_proxy_to_host.rb
katello-4.4.0 db/migrate/20140610083129_add_pulp_proxy_to_host.rb
katello-4.4.0.rc2 db/migrate/20140610083129_add_pulp_proxy_to_host.rb
katello-4.4.0.rc1 db/migrate/20140610083129_add_pulp_proxy_to_host.rb
katello-4.2.2 db/migrate/20140610083129_add_pulp_proxy_to_host.rb
katello-4.3.0 db/migrate/20140610083129_add_pulp_proxy_to_host.rb
katello-4.3.0.rc4 db/migrate/20140610083129_add_pulp_proxy_to_host.rb
katello-4.3.0.rc3 db/migrate/20140610083129_add_pulp_proxy_to_host.rb
katello-4.3.0.rc2.1 db/migrate/20140610083129_add_pulp_proxy_to_host.rb
katello-4.3.0.rc2 db/migrate/20140610083129_add_pulp_proxy_to_host.rb
katello-4.3.0.rc1 db/migrate/20140610083129_add_pulp_proxy_to_host.rb
katello-4.2.1 db/migrate/20140610083129_add_pulp_proxy_to_host.rb
katello-4.2.0.1 db/migrate/20140610083129_add_pulp_proxy_to_host.rb
katello-4.1.4 db/migrate/20140610083129_add_pulp_proxy_to_host.rb
katello-4.0.3 db/migrate/20140610083129_add_pulp_proxy_to_host.rb
katello-4.2.0.1.rc3 db/migrate/20140610083129_add_pulp_proxy_to_host.rb
katello-3.18.5 db/migrate/20140610083129_add_pulp_proxy_to_host.rb
katello-4.2.0.1.rc2 db/migrate/20140610083129_add_pulp_proxy_to_host.rb
katello-4.2.0.rc2 db/migrate/20140610083129_add_pulp_proxy_to_host.rb
katello-4.1.3 db/migrate/20140610083129_add_pulp_proxy_to_host.rb