You are not quite right with MESSAGE PARTIES . Given the current setting, you can specify several senders and several dates (more precisely, you can specify several combinations of sender, recipient and date). This is not like any messaging system I am familiar with, and most likely not what you intended (it also doesn't fit your description).
A more appropriate layout places the sender and "sent" fields in the MESSAGE table, and then just the ID , Message ID and Recipient ID in the MESSAGE PARTIES table.
source share