class AddFirstConfirmationReminderSentToUsers < ActiveRecord::Migration[5.2]
  def change
    add_column :users, :first_confirmation_reminder_sent, :boolean, null: false, default: false
    add_index :users, [:confirmed_at, :confirmation_sent_at, :first_confirmation_reminder_sent, :invitation_sent_at], name: 'index_users_on_first_reminder_fields'
  end
end
