i'm having a table called social_accounts
to store the data for OAuth Login
id
user_id
provider
provider_id
I want to make user_id,provider,provider_id
UNIQUE but i want all 3 columns be unique at the same time
meaning a user with id x
can have a provider_id b
and provier google
for example but this row didn't duplicate but the use x
can have another row with provider faceook
as an example