This commit is contained in:
Wolfgang Koch
2021-05-18 15:11:11 +02:00
parent 9ee407d06c
commit 1e034e964e
2 changed files with 2 additions and 2 deletions

View File

@@ -36,7 +36,7 @@ entity Z_Customers : cuid, managed
// new unique constraint (secondary index)
annotate Z_Customers with @assert.unique: { email: [ email ] }
{
email @mandatory; // mandatory check
email @mandatory; // mandatory check
}
// new entity - as composition target