Hey,

Is it possible to have a unique combination of two data types?

For example

table_a:

id - id1 - id2

1 - 100 - 264

user id 1 and user id 2 will always be unique to each other. No other row can contain 264 - 100, vice versa.

any help