logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe git clone https://hacktivis.me/git/mastofe.git

20161003142332_add_confirmable_to_users.rb (345B)


  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