13 lines
308 B
Ruby
13 lines
308 B
Ruby
|
class UserPasswordReset < ActiveRecord::Migration
|
||
|
|
||
|
def self.up
|
||
|
add_column :users, :reset_password_token, :string
|
||
|
add_column :users, :reset_password_expires, :timestamp
|
||
|
end
|
||
|
|
||
|
def self.down
|
||
|
remove_column :users, :reset_password_token
|
||
|
remove_column :users, :reset_password_expires
|
||
|
end
|
||
|
end
|