20160302095413_add_deactivated_at_to_users.rb 173 B

1234567
  1. class AddDeactivatedAtToUsers < ActiveRecord::Migration[4.2]
  2. def change
  3. add_column :users, :deactivated_at, :datetime
  4. add_index :users, :deactivated_at
  5. end
  6. end