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