From 828187749bd81f261812c805efad5894d5184626 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20G=C3=B6rler?= Date: Thu, 19 Dec 2024 11:13:16 +0100 Subject: [PATCH] undo books.cds --- db/books.cds | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/db/books.cds b/db/books.cds index 1fd06ae9..e7aa3928 100644 --- a/db/books.cds +++ b/db/books.cds @@ -2,6 +2,7 @@ namespace my.bookshop; using { Currency, + sap, managed, cuid } from '@sap/cds/common'; @@ -47,10 +48,8 @@ annotate Authors with /** * Hierarchically organized Code List for Genres */ -entity Genres { +entity Genres : sap.common.CodeList { key ID : Integer; - name : localized String(255); - descr : localized String(1000); parent : Association to Genres; children : Composition of many Genres on children.parent = $self;