diff --git a/db/schema.rb b/db/schema.rb
index b7a51a4..6d2c4bb 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
-ActiveRecord::Schema.define(version: 2020_09_13_225956) do
+ActiveRecord::Schema.define(version: 2020_09_14_011248) do
# These are extensions that must be enabled in order to support this database
enable_extension "citext"
@@ -85,6 +85,15 @@ ActiveRecord::Schema.define(version: 2020_09_13_225956) do
t.citext "name", null: false
end
+ create_table "recommendations", force: :cascade do |t|
+ t.bigint "location_id", null: false
+ t.bigint "user_id", null: false
+ t.datetime "created_at", precision: 6, null: false
+ t.datetime "updated_at", precision: 6, null: false
+ t.index ["location_id"], name: "index_recommendations_on_location_id"
+ t.index ["user_id"], name: "index_recommendations_on_user_id"
+ end
+
create_table "restaurants", force: :cascade do |t|
t.citext "name", null: false
end
@@ -100,4 +109,6 @@ ActiveRecord::Schema.define(version: 2020_09_13_225956) do
add_foreign_key "active_storage_attachments", "active_storage_blobs", column: "blob_id"
add_foreign_key "active_storage_variant_records", "active_storage_blobs", column: "blob_id"
add_foreign_key "locations", "users", column: "creator_id"
+ add_foreign_key "recommendations", "locations"
+ add_foreign_key "recommendations", "users"
end