Sha256: 994d4f80e3e073994735bece254922f671d03369d7c207515740485b1db639e5
Contents?: true
Size: 525 Bytes
Versions: 35
Compression:
Stored size: 525 Bytes
Contents
class AddPulpProxyToHost < ActiveRecord::Migration 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
35 entries across 35 versions & 1 rubygems