9 lines
209 B
Ruby
9 lines
209 B
Ruby
|
class AddResetsToUsers < ActiveRecord::Migration[5.0]
|
||
|
def change
|
||
|
add_column :users, :reset_token, :string
|
||
|
add_column :users, :reset_timestamp, :datetime
|
||
|
|
||
|
add_index :users, :reset_token
|
||
|
end
|
||
|
end
|