Sha256: 0e47be33a624145dc2b79717b6a426c183f7214fbfded2aea185f7a74c358dc6
Contents?: true
Size: 536 Bytes
Versions: 339
Compression:
Stored size: 536 Bytes
Contents
class AddAdditionalAttributesToUser < ActiveRecord::Migration def change add_column :users, :username, :string add_column :users, :deleted_at, :datetime add_column :users, :expired_at, :datetime add_column :users, :failed_attempts, :integer, :default => 0 add_column :users, :unlock_token, :string add_column :users, :locked_at, :datetime add_column :users, :confirmed_at, :datetime add_index :users, :username, :unique => true add_index :users, :unlock_token, :unique => true end end
Version data entries
339 entries across 331 versions & 23 rubygems