From 1d22fe928d863632397bdfda4239b1a7447b3ae0 Mon Sep 17 00:00:00 2001 From: Daniel Hutzel Date: Tue, 1 Apr 2025 16:16:32 +0200 Subject: [PATCH] Less obstrusive workaround --- bookshop/db/schema.cds | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bookshop/db/schema.cds b/bookshop/db/schema.cds index f6404dc3..8bcb9d43 100644 --- a/bookshop/db/schema.cds +++ b/bookshop/db/schema.cds @@ -1,7 +1,6 @@ using { Currency, managed, sap } from '@sap/cds/common'; namespace sap.capire.bookshop; -@fiori.draft.enabled // workaround for reuse in fiori sample and hana deployment entity Books : managed { key ID : Integer; title : localized String(111) @mandatory; @@ -32,3 +31,8 @@ entity Genres : sap.common.CodeList { } type Price : Decimal(9,2); + + +// ------------------------------------------------------------------ +// temporary workaround for reuse in fiori sample and hana deployment +annotate Books with @fiori.draft.enabled