Bug #421 ยป 0001-Fixes-bug-421-change-literal-1-to-true-in-database-m.patch
db/migrate/20100823181036_add_enabled_to_hosts.rb | ||
---|---|---|
class AddEnabledToHosts < ActiveRecord::Migration
|
||
def self.up
|
||
add_column :hosts, :enabled, :boolean, :default => 1
|
||
add_column :hosts, :enabled, :boolean, :default => true
|
||
end
|
||
def self.down
|