From 5cc9ca25f7538fb2426c52776b240ac6474945d0 Mon Sep 17 00:00:00 2001 From: Wolfgang Koch Date: Thu, 12 Nov 2020 14:00:36 +0100 Subject: [PATCH] pdm annotations communication --- gdpr/db/data-privacy.cds | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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};