The code powering m.abunchtell.com https://m.abunchtell.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

10 lines
345 B

  1. class AddConfirmableToUsers < ActiveRecord::Migration[5.0]
  2. def change
  3. add_column :users, :confirmation_token, :string
  4. add_column :users, :confirmed_at, :datetime
  5. add_column :users, :confirmation_sent_at, :datetime
  6. add_column :users, :unconfirmed_email, :string
  7. add_index :users, :confirmation_token, unique: true
  8. end
  9. end