Index with multiple columns

I have a question about db index in strapi.
I have Societe, Visiteur and Avis tables collection type. Societe and Visiteur has a manyToOne relation with Avis. How can I do to add a constraint in Avis to make the Visiteur/Societe group unique ?

This topic has been created from a Discord post (1273228447551852655) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord