Module | Devise::Schema |
In: |
lib/devise/schema.rb
|
Holds devise schema information. To use it, just include its methods and overwrite the apply_schema method.
Creates encrypted_password, and email when it is used as an authentication key (default).
For Datamapper compatibility, we explicitly hardcode the limit for the encrypter password field in 128 characters.
Creates password salt for encryption support when using encryptors other than the database_authenticable default of bcrypt.
Creates failed_attempts, unlock_token and locked_at depending on the options given.
Creates reset_password_token and reset_password_sent_at.
Creates remember_token and remember_created_at.