thedatasnok / webshop

Project assignment for the courses IDATA2301 and IDATA2306 at NTNU.
MIT License
1 stars 0 forks source link

Backend: Add endpoint for deleting the current user #120

Closed dawsta27 closed 1 year ago

dawsta27 commented 1 year ago

Since we now include customer_email and customer_name in orders, we can allow users to delete their account.

NOT NULL constraint on the foreign key will have to be removed from the order.