Plan-My-Dinner / plan_my_dinner_be

Backend Service Repo for the Plan My Dinner Application
https://planmydinner.fly.dev/
0 stars 0 forks source link

[Database]: Create Scheduled Recipes Model in DB #9

Closed aleish-m closed 1 year ago

aleish-m commented 1 year ago

Description

Database Table - Scheduled Recipes

:x: New route :x: An existing route :white_check_mark: Design/Build/Database

Feature description

Create the Scheduled Recipes Model in Repo using PostgreSQL DB

  1. Needs the following attributes:
    • [ ] User Saved Recipe ID - Foreign Key
    • [ ] Schedule Date - DateTime
    • [ ] Timestamps (created/updated) - DateTime
  2. Look into indexing on the scheduled date or other options to make looking up recipes scheduled by date more efficient. (We will need to do this ALOT on every page view.)
  3. Test for validations
  4. Test happy / sad / and edge cases
  5. Add Documentation as and if needed

Remember: Use GitHub branch creation for naming Image

Anything else?

No response