Sha256: e1155341ef9ca998a6121af2f1ff32d654169448de96c5282c6aa6b54283813d

Contents?: true

Size: 1002 Bytes

Versions: 51

Compression:

Stored size: 1002 Bytes

Contents

class CreateAdminUsers < ActiveRecord::Migration
  def change
    create_table "admin_users", force: true do |t|
      t.string   "email",                  default: "", null: false
      t.string   "encrypted_password",     default: "", null: false
      t.string   "reset_password_token"
      t.datetime "reset_password_sent_at"
      t.datetime "remember_created_at"
      t.integer  "sign_in_count",          default: 0
      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.integer  "failed_attempts",        default: 0
      t.string   "unlock_token"
      t.datetime "locked_at"
      t.datetime "created_at"
      t.datetime "updated_at"
    end

    add_index "admin_users", ["email"], name: "index_admin_users_on_email", unique: true, using: :btree
    add_index "admin_users", ["reset_password_token"], name: "index_admin_users_on_reset_password_token", unique: true, using: :btree
  end
end

Version data entries

51 entries across 51 versions & 1 rubygems

Version Path
manage-1.3.34 db/migrate/20131204142720_create_admin_users.rb
manage-1.3.33 db/migrate/20131204142720_create_admin_users.rb
manage-1.3.32 db/migrate/20131204142720_create_admin_users.rb
manage-1.3.31 db/migrate/20131204142720_create_admin_users.rb
manage-1.3.29 db/migrate/20131204142720_create_admin_users.rb
manage-1.3.28 db/migrate/20131204142720_create_admin_users.rb
manage-1.3.27 db/migrate/20131204142720_create_admin_users.rb
manage-1.3.26 db/migrate/20131204142720_create_admin_users.rb
manage-1.3.25 db/migrate/20131204142720_create_admin_users.rb
manage-1.3.24 db/migrate/20131204142720_create_admin_users.rb
manage-1.3.20 db/migrate/20131204142720_create_admin_users.rb
manage-1.3.19 db/migrate/20131204142720_create_admin_users.rb
manage-1.3.18 db/migrate/20131204142720_create_admin_users.rb
manage-1.3.17 db/migrate/20131204142720_create_admin_users.rb
manage-1.3.16 db/migrate/20131204142720_create_admin_users.rb
manage-1.3.15 db/migrate/20131204142720_create_admin_users.rb
manage-1.3.14 db/migrate/20131204142720_create_admin_users.rb
manage-1.3.13 db/migrate/20131204142720_create_admin_users.rb
manage-1.3.12 db/migrate/20131204142720_create_admin_users.rb
manage-1.3.11 db/migrate/20131204142720_create_admin_users.rb