vttranlina commented on PR #1812:
URL: https://github.com/apache/james-project/pull/1812#issuecomment-1831076834

   > @vttranlina in mailbox_message table, lets...
   > 
   > * Enforce that mailboxes exist
   > * and cascade deletes
   > 
   > CF `ChatGPT answer: mailbox_id UUID REFERENCES mailbox(mailbox_id) ON 
DELETE CASCADE`
   > 
   > WDYT?
   > 
   > We could also enforce the `mailbox_message` `message_id` references an 
existing message...
   > 
   > CF `message_id UUID REFERENCES message(message_id)`
   
   :+1: It will be more consistency


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to