Database Structure - HoroekaHardcore/StallShare Wiki

stalls

  • id
  • name
  • address
  • latitude
  • longitude

images

  • id
  • stall_id (foreign key)
  • posted_at
  • notes

categories

  • id
  • name

image_category (many-to-many relationship)

  • image_id (foreign key)
  • category_id (foreign key)