If I add the constraint to the DB and the directiv...
# orm-help
c
If I add the constraint to the DB and the directive "@ unique"" to the schema.prisma file, then it works. But if you have the constraint in the schema file but not in the DB, it just silently doesn't return that field in the API.
r
A reproduction would be great as this is an odd one.