Sha256: 618520407884d0255f731b10c5954e9fcdf0def1c925dc80eba1a8678557096b
Contents?: true
Size: 450 Bytes
Versions: 54
Compression:
Stored size: 450 Bytes
Contents
class AddHostIdToSystem < ActiveRecord::Migration def up add_column :katello_systems, :host_id, :integer add_index :katello_systems, :host_id add_foreign_key 'katello_systems', 'hosts', :name => 'katello_systems_host_id', :column => 'host_id' end def down remove_foreign_key 'katello_systems', :name => :katello_systems_host_id remove_index :katello_systems, :host_id remove_column :katello_systems, :host_id end end
Version data entries
54 entries across 54 versions & 1 rubygems