# frozen_string_literal: true 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