diff --git a/gdpr/db/data-privacy.cds b/gdpr/db/data-privacy.cds index 8d5572cc..e4bddc5b 100644 --- a/gdpr/db/data-privacy.cds +++ b/gdpr/db/data-privacy.cds @@ -25,11 +25,9 @@ annotate bookshop.Customers with @(Communication.Contact : { surname: lastName, given: firstName }, + email: emailAddress }); -annotate bookshop.Customers.emailAddress with @Communication.IsEmailAddress; - - // annotations for Audit Log annotate bookshop.Customers with @AuditLog.Operation: {Read: true, Insert: true, Update: true, Delete: true};