Is it possible to set a two way unique contraints in mysql columns ?
I have two columns like sender and receiver and I have set a composite unique constraint to these however, it only works if for example i enter 1 in sender and 2 in receiver multiple times and does not work :
if i have 1 in sender and 2 in receiver and 2 in sender and 1 in receiver
I hope my questions is clear.