Project

General

Profile

0001-Fixes-bug-421-change-literal-1-to-true-in-database-m.patch

Proposed trivial patch, tested against PostgreSQL and SQLite. - Jochen Schalanda, 10/31/2010 02:09 PM

View differences:

db/migrate/20100823181036_add_enabled_to_hosts.rb
1 1
class AddEnabledToHosts < ActiveRecord::Migration
2 2
  def self.up
3
    add_column :hosts, :enabled, :boolean, :default => 1
3
    add_column :hosts, :enabled, :boolean, :default => true
4 4
  end
5 5

  
6 6
  def self.down
7
-