Hopefully I'm in the right place - does anyone know how to enforce that a field is unique per-relation? E.g. a Post slug must be unique per User, but not between users.
a
agartha
11/17/2017, 10:55 PM
Not possible in your schema definition. You have to write a before hook function for Post that checks this