diff --git a/db/schema.rb b/db/schema.rb index 6b85984..741c1b8 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,15 +10,17 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 20160917190210) do +ActiveRecord::Schema.define(version: 20160918172700) do - create_table "users", force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=latin1" do |t| - t.string "first_name", limit: 25 - t.string "last_name", limit: 50 - t.string "email", default: "", null: false - t.string "password", limit: 40 - t.datetime "created_at", null: false - t.datetime "updated_at", null: false + create_table "admin_users", force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=latin1" do |t| + t.string "first_name", limit: 25 + t.string "last_name", limit: 50 + t.string "email", limit: 100, default: "", null: false + t.string "username", limit: 25 + t.string "hashed_password", limit: 40 + t.datetime "created_at", null: false + t.datetime "updated_at", null: false + t.index ["username"], name: "index_admin_users_on_username", using: :btree end end