Sha256: ef49777cafae040d557f7c03c88b30970255e3fd7223b19c79947d322d77d75b
Contents?: true
Size: 1.47 KB
Versions: 2
Compression:
Stored size: 1.47 KB
Contents
class CreateAlchemyUsers < ActiveRecord::Migration def up return if table_exists?(:alchemy_users) create_table "alchemy_users" do |t| t.string "firstname" t.string "lastname" t.string "login" t.string "email" t.string "gender" t.string "language" t.string "encrypted_password", limit: 128, default: "", null: false t.string "password_salt", limit: 128, default: "", null: false t.integer "sign_in_count", default: 0, null: false t.integer "failed_attempts", default: 0, null: false t.datetime "last_request_at" 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.datetime "created_at", null: false t.datetime "updated_at", null: false t.integer "creator_id" t.integer "updater_id" t.text "cached_tag_list" t.string "reset_password_token" t.datetime "reset_password_sent_at" end add_index "alchemy_users", ["email"], name: "index_alchemy_users_on_email", unique: true add_index "alchemy_users", ["login"], name: "index_alchemy_users_on_login", unique: true add_index "alchemy_users", ["reset_password_token"], name: "index_alchemy_users_on_reset_password_token", unique: true end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
alchemy-devise-2.0.0 | db/migrate/20131015124700_create_alchemy_users.rb |
alchemy-devise-1.1.0 | db/migrate/20131015124700_create_alchemy_users.rb |