OSDN Git Service

fix heroku migration
[pettanr/pettanr.git] / db / migrate / 20111206092734_devise_create_admins.rb
index 554e768..e7bb867 100644 (file)
@@ -10,7 +10,7 @@ class DeviseCreateAdmins < ActiveRecord::Migration
       # t.confirmable
       # t.lockable :lock_strategy => :failed_attempts, :unlock_strategy => :both
       # t.token_authenticatable
-      t.integer :activate, :null => false, :default => false
+      t.integer :activate, :null => false, :default => 0
 
       t.timestamps
     end