Project

General

Profile

« Previous | Next » 

Revision 83940766

Added by Jochen Schalanda over 13 years ago

  • ID 83940766ad6212352905366531f2e3844f26c3d7

Fixes #421 - change literal 1 to true in database migration AddEnabledToHosts.

View differences:

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

Also available in: Unified diff