Project

General

Profile

Feature #364 » 20100823181036_add_enabled_to_hosts.rb

Add enabled flag to hosts - Eric Shamow, 08/23/2010 11:42 PM

 
class AddEnabledToHosts < ActiveRecord::Migration
def self.up
add_column :hosts, :enabled, :boolean, :default => 1
end

def self.down
remove_column :hosts, :enabled
end
end
(2-2/3)