1 class DeviseCreateUsers < ActiveRecord::Migration
3 create_table(:users) do |t|
4 t.database_authenticatable :null => false
10 t.lockable :lock_strategy => :failed_attempts, :unlock_strategy => :both
11 t.token_authenticatable
17 add_index :users, :email, :unique => true
18 add_index :users, :reset_password_token, :unique => true
19 # add_index :users, :confirmation_token, :unique => true
20 add_index :users, :unlock_token, :unique => true