amatriain/feedbunch

View on GitHub
FeedBunch-app/db/migrate/20150423171725_add_second_confirmation_reminder_sent_to_users.rb

Summary

Maintainability
A
0 mins
Test Coverage
class AddSecondConfirmationReminderSentToUsers < ActiveRecord::Migration[5.2]
  def change
    add_column :users, :second_confirmation_reminder_sent, :boolean, null: false, default: false
    add_index :users, [:confirmed_at, :confirmation_sent_at, :second_confirmation_reminder_sent, :invitation_sent_at], name: 'index_users_on_second_reminder_fields'
  end
end