From af447f14937fbe43fc6a5b200521d9b44bb44e81 Mon Sep 17 00:00:00 2001 From: Okechi Onyeje Date: Thu, 9 Feb 2017 14:09:35 -0500 Subject: [PATCH] schema fix --- Pearlception/db/schema.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Pearlception/db/schema.rb b/Pearlception/db/schema.rb index d7f0285..4a49eeb 100644 --- a/Pearlception/db/schema.rb +++ b/Pearlception/db/schema.rb @@ -22,7 +22,8 @@ ActiveRecord::Schema.define(version: 20170119161737) do create_table "users", force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8" do |t| t.string "email", default: "", null: false t.string "encrypted_password", default: "", null: false - t.integer "company_id", default: -1, null: false + t.integer "company_id", null: false + t.boolean "admin", default: false, null: false t.string "reset_password_token" t.datetime "reset_password_sent_at" t.datetime "remember_created_at"