# This file is auto-generated from the current state of the database. Instead # of editing this file, please use the migrations feature of Active Record to # incrementally modify your database, and then regenerate this schema definition. # # This file is the source Rails uses to define your schema when running `rails # db:schema:load`. When creating a new database, `rails db:schema:load` tends to # be faster and is potentially less error prone than running all of your # migrations from scratch. Old migrations may fail to apply correctly if those # migrations use external dependencies or application code. # # It's strongly recommended that you check this file into your version control system. ActiveRecord::Schema.define(version: 2020_05_25_132942) do create_table "favorite_courses", force: :cascade do |t| t.string "number", null: false t.string "semester", null: false t.string "title", null: false t.integer "user_id", null: false t.datetime "created_at", precision: 6, null: false t.datetime "updated_at", precision: 6, null: false t.index ["number", "semester"], name: "index_favorite_courses_on_number_and_semester", unique: true end create_table "favorite_people", id: false, force: :cascade do |t| t.integer "tiss_id", null: false t.integer "user_id", null: false t.string "first_name" t.string "last_name" t.string "picture_uri" t.datetime "created_at", precision: 6, null: false t.datetime "updated_at", precision: 6, null: false t.index ["tiss_id"], name: "index_favorite_people_on_tiss_id", unique: true end create_table "favorite_theses", id: false, force: :cascade do |t| t.integer "id", null: false t.integer "user_id", null: false t.string "title" t.datetime "created_at", precision: 6, null: false t.datetime "updated_at", precision: 6, null: false t.index ["id"], name: "index_favorite_theses_on_id", unique: true end create_table "users", force: :cascade do |t| t.string "email", default: "", null: false t.string "encrypted_password", default: "", null: false t.datetime "remember_created_at" t.datetime "created_at", precision: 6, null: false t.datetime "updated_at", precision: 6, null: false t.index ["email"], name: "index_users_on_email", unique: true end end