OSDN Git Service

speach balloon permission change to admin
[pettanr/pettanr.git] / db / migrate / 20111206092734_devise_create_admins.rb
index e7bb867..871148e 100644 (file)
@@ -9,7 +9,7 @@ class DeviseCreateAdmins < ActiveRecord::Migration
       # t.encryptable
       # t.confirmable
       # t.lockable :lock_strategy => :failed_attempts, :unlock_strategy => :both
-      t.token_authenticatable
+      t.token_authenticatable
       t.integer :activate, :null => false, :default => 0
 
       t.timestamps
@@ -19,7 +19,7 @@ class DeviseCreateAdmins < ActiveRecord::Migration
     add_index :admins, :reset_password_token, :unique => true
     # add_index :admins, :confirmation_token,   :unique => true
     # add_index :admins, :unlock_token,         :unique => true
-    add_index :admins, :authentication_token, :unique => true
+    add_index :admins, :authentication_token, :unique => true
   end
 
 end