HackYourFuture-CPH / fp-class19

MIT License
3 stars 1 forks source link

fix orders/order_item table(migrations) #148

Closed hparul closed 2 years ago

hparul commented 2 years ago

User story

Who: As a developer of the website What: I want to update the ORDERS and ORDERITEMS table with timestamps and constraints in the Database. Why: so that I can support the functionality of adding orders from the website.

Acceptance criteria

ORDERS and ORDERITEM tables are created as per database design of the website

order_table

Implementation details

Create orders and orderitems schema in src/server/migrations using Knex.