Permalink
Browse files

Avoid error in migrations with Postgresql adapter

  • Loading branch information...
1 parent dde01fe commit f9b4aca5daadd4761c5b76b63e1682562a624dbe @jbbarth jbbarth committed with Sep 12, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 db/migrate/003_add_locked_state_to_doodles.rb
@@ -1,6 +1,6 @@
class AddLockedStateToDoodles < ActiveRecord::Migration
def self.up
- add_column :doodles, :locked, :boolean, :default => 0
+ add_column :doodles, :locked, :boolean, :default => false
end
def self.down

0 comments on commit f9b4aca

Please sign in to comment.