Sha256: 1b70df1c6331bef76db83b4e6df4fc2ddb9be240abf40f15e2696a3099e1a1af
Contents?: true
Size: 1016 Bytes
Versions: 41
Compression:
Stored size: 1016 Bytes
Contents
# -*- mode: ruby -*- # vi: set ft=ruby : create_table 'users', force: :cascade do |t| t.string 'email' t.string 'password_digest', null: false, default: '' ## Recoverable t.string :reset_password_token t.datetime :reset_password_sent_at ## Rememberable t.datetime :remember_created_at ## Trackable t.integer :sign_in_count, default: 0, null: false t.datetime :current_sign_in_at t.datetime :last_sign_in_at t.string :current_sign_in_ip t.string :last_sign_in_ip t.string :uid ## Confirmable # t.string :confirmation_token # t.datetime :confirmed_at # t.datetime :confirmation_sent_at # t.string :unconfirmed_email # Only if using reconfirmable ## Lockable # t.integer :failed_attempts, default: 0, null: false # Only if lock strategy is :failed_attempts # t.string :unlock_token # Only if unlock strategy is :email or :both # t.datetime :locked_at t.timestamps t.index :reset_password_token, unique: true t.index :uid, unique: true end
Version data entries
41 entries across 41 versions & 2 rubygems