Aye-Bee-See / sqlite-express-api

0 stars 0 forks source link

Fix relations #8

Closed paxblueribbon closed 4 months ago

paxblueribbon commented 5 months ago

Prison should be able to contain multiple prisoners Prisoner should belong to only one prison

Chat should belong to only one user and one prisoner ✅ Message should belong to one chat ✅ Prisoner and user should own multiple chats ✅ Chat should own multiple messages ✅

Routes should give the option to show just the IDs or the details of all owned objects

paxblueribbon commented 4 months ago

TODO: Test this