Sha256: 6a88efe1f566485cc648144ee8fcc3f5f7bebe64fdb0546a6c9409ea3ca74bb4
Contents?: true
Size: 781 Bytes
Versions: 5
Compression:
Stored size: 781 Bytes
Contents
class AddHostGroupDefaults < ActiveRecord::Migration def self.up add_column :hostgroups, :environment_id, :integer add_column :hostgroups, :operatingsystem_id, :integer add_column :hostgroups, :architecture_id, :integer add_column :hostgroups, :medium_id, :integer add_column :hostgroups, :ptable_id, :integer add_column :hostgroups, :root_pass, :string add_column :hostgroups, :puppetmaster, :string end def self.down remove_column :hostgroups, :environment_id remove_column :hostgroups, :operatingsystem_id remove_column :hostgroups, :architecture_id remove_column :hostgroups, :medium_id remove_column :hostgroups, :ptable_id remove_column :hostgroups, :root_pass remove_column :hostgroups, :puppetmaster end end
Version data entries
5 entries across 5 versions & 1 rubygems