Sha256: 3738263e5ba84fcf6d28724b0b5bb77c39a4bb4c63fedd7f7a4be880dce2d7d9
Contents?: true
Size: 455 Bytes
Versions: 195
Compression:
Stored size: 455 Bytes
Contents
class AddHostIdToSystem < ActiveRecord::Migration[4.2] 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
195 entries across 195 versions & 1 rubygems