pascalbenschopTU / WDM_project

Web-Scale Data Management Project
1 stars 0 forks source link

Implement payment service #2

Closed CasHil closed 1 year ago

CasHil commented 1 year ago

I mostly took over the schema Leon wrote, but the fact an order is in paid_orders already means that the status is paid, so that is redundant. The table now looks like this:

paid_orders: [order_id, amount_paid, user_id]

Not sure if user_id is needed, but it doesn't hurt to store it I guess.