Skip to content

Commit

Permalink
Fixed bug in migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
ariejan committed Oct 24, 2008
1 parent afa2f44 commit 8faab1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions db/migrate/20081023115224_baseapp.rb
Expand Up @@ -22,7 +22,7 @@ def self.up
t.string :salt, :limit => 40
t.string :remember_token, :limit => 40
t.string :activation_code, :limit => 40
t.string :state, :null => :no, :default => 'passive'
t.string :state, :null => :false, :default => 'passive'
t.datetime :remember_token_expires_at
t.string :password_reset_cod, :default => nil
t.datetime :activated_at
Expand Down Expand Up @@ -91,4 +91,4 @@ def self.down
drop_table :roles
drop_table :roles_users
end
end
end

0 comments on commit 8faab1a

Please sign in to comment.