I have a table User which has many messages and many contacts.
The relation between messages and contacts table is made trough contactMessages table.
Table mes