Unique Values / Deduplication constraint

Hi!

I am discovering Corteza for the first time. Sorry, if my question looks stupid.

I have 2 tables.
Account and Solution.

An account can have multiple solutions (solution1, solution2, solution3).
But, each account can not have multiple time the same solution.

If I create a constraint, with fields account_name and solution_name to check.
This check account_name or solution_name instead of account_name and solution_name

For example, if the table Solution contains: “account1 solution1”
Adding account1 solution2 or account2 solution1 will trigger the duplicate filter.

I think the logic need to be a OR between constraints and a AND inside the constraint description.
Am I wrong?

Thanks for your help

Up!
Nobody have a solution for this?

This is relevant.
For your cases you need to use a workflow.