Recuperacao de senha
This commit is contained in:
9
db/migrate/035_reset_password.rb
Normal file
9
db/migrate/035_reset_password.rb
Normal file
@@ -0,0 +1,9 @@
|
||||
class ResetPassword < ActiveRecord::Migration
|
||||
def self.up
|
||||
add_column :users, :password_reset_key, :string
|
||||
end
|
||||
|
||||
def self.down
|
||||
remove_column :users, :password_reset_key
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user