davidyoon85/CampAway

Tables

Closed this issue · 0 comments

Hey David,

Here's a few notes for your tables. Everything looks pretty good, just a few things to change.

spots table:

  • listings table should be called spots table.
  • There should be a group size column. Should be not null: true.
  • What is the campfire column?

bookings table:

  • we need a bookings table for every time someone books a spot.
  • we need a bunch of columns including dates of the reservation, status of the reservation etc.

reviews table:

  • should have a recommend column. if the author recommends the spot.
  • should also change it to spot_id
  • a reviewer should also be able to add a photo/photos.

Let's talk about the amenities that are on the spots table.