i try to find out if a conversation between two users exist but i can't imagine how to query this in mysql.
My tables are:
users
-----
id
name
conversations
-------------
id
conversation_user
-----------------
user_id
conversation_id
For example, i have two users and one conversation so in my conversation_user table i have
user_id conversation_id
1 1
2 1
How to check if this relationship exist or not?
thank you in advance.