module Devise::Schema

def database_authenticatable(options={})

* :null - When true, allow columns to be null.
== Options

Creates email, encrypted_password and password_salt.
def database_authenticatable(options={})
  null    = options[:null] || false
  default = options[:default] || ""
  if options.delete(:encryptor)
    ActiveSupport::Deprecation.warn ":encryptor as option is deprecated, simply remove it."
  end
  apply_schema :email,              String, :null => null, :default => default
  apply_schema :encrypted_password, String, :null => null, :default => default, :limit => 128
  apply_schema :password_salt,      String, :null => null, :default => default
end