Small cleanup.

This commit is contained in:
José Valim
2010-03-30 00:29:57 +02:00
parent a6a018253e
commit 22e1fa0cb9
4 changed files with 10 additions and 19 deletions

View File

@@ -1,12 +1,12 @@
class DeviseCreate<%= table_name.camelize %> < ActiveRecord::Migration
def self.up
create_table(:<%= table_name %>) do |t|
t.database_authenticatable :encryptor => :<%= Devise.encryptor %>, :null => false
t.database_authenticatable :null => false
t.confirmable
t.recoverable
t.rememberable
t.trackable
# t.lockable
# t.lockable :unlock_strategy => :<%= Devise.unlock_strategy %>
t.timestamps
end