# class DeviseCreateAccounts < ActiveRecord::Migration # def self.up # create_table(:accounts) do |t| # t.authenticatable :encryptor => :sha1, :null => false # t.confirmable # t.recoverable # t.rememberable # t.trackable # # t.lockable # # t.timestamps # end # # add_index :accounts, :email, :unique => true # add_index :accounts, :confirmation_token, :unique => true # add_index :accounts, :reset_password_token, :unique => true # # add_index :accounts, :unlock_token, :unique => true # end # # def self.down # drop_table :accounts # end # end