From 8faab1adc4309532c6d829413535037a1d1c9f22 Mon Sep 17 00:00:00 2001 From: Ariejan de Vroom Date: Fri, 24 Oct 2008 11:00:13 +0200 Subject: [PATCH] Fixed bug in migrations --- db/migrate/20081023115224_baseapp.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db/migrate/20081023115224_baseapp.rb b/db/migrate/20081023115224_baseapp.rb index b064500e..39652d0b 100644 --- a/db/migrate/20081023115224_baseapp.rb +++ b/db/migrate/20081023115224_baseapp.rb @@ -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 @@ -91,4 +91,4 @@ def self.down drop_table :roles drop_table :roles_users end -end \ No newline at end of file +end