foreman/db/migrate/20100823181036_add_enabled_to_hosts.rb @ 630061d2
class AddEnabledToHosts < ActiveRecord::Migration[4.2]
|
|
def up
|
|
add_column :hosts, :enabled, :boolean, :default => true
|
|
end
|
|
|
|
def down
|
|
remove_column :hosts, :enabled
|
|
end
|
|
end
|