A UNIQUE
constraint on multiple columns is standard in PostgreSQL. This allows to have a constraint to check if the combination of columns already exists.
I would like to use this functionality instead of having to create microflows to do this check.