diff --git a/db/data/sap.capire.orders-Orders.csv b/db/data/sap.capire.orders-Orders.csv index e298ea0c..dec45190 100644 --- a/db/data/sap.capire.orders-Orders.csv +++ b/db/data/sap.capire.orders-Orders.csv @@ -1,3 +1,3 @@ -ID;createdAt;createdBy;buyer;OrderNo;currency_code;Z_Customer_ID;Z_priority;Z_SalesRegion +ID;createdAt;createdBy;buyer;OrderNo;currency_code;Z_Customer_ID;Z_priority;Z_SalesRegion_regionCode 7e2f2640-6866-4dcf-8f4d-3027aa831cad;2019-01-31;john.doe@test.com;john.doe@test.com;1;EUR;8e2f2640-6866-4dcf-8f4d-3027aa831cad;high;EMEA 64e718c9-ff99-47f1-8ca3-950c850777d4;2019-01-30;jane.doe@test.com;jane.doe@test.com;2;EUR;74e718c9-ff99-47f1-8ca3-950c850777d4;low;APJ \ No newline at end of file diff --git a/db/extension.cds b/db/extension.cds index f2214442..51f433e4 100644 --- a/db/extension.cds +++ b/db/extension.cds @@ -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