Sha256: 754cb7f85a0a1c52659db97beaceb4e9958c322afa6576e7373f62a212e3db37
Contents?: true
Size: 541 Bytes
Versions: 9
Compression:
Stored size: 541 Bytes
Contents
class AddAdditionalAttributesToUser < ActiveRecord::Migration[4.2] 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
9 entries across 9 versions & 5 rubygems