diff --git a/db/books.cds b/db/books.cds
index 665587af..48d24ccf 100644
--- a/db/books.cds
+++ b/db/books.cds
@@ -65,5 +65,9 @@ entity Contents: Hierarchy {
page : Integer;
parent : Association to Contents @odata.draft.enclosed;
book : Association to Books;
+ // for cascade delete
+ @cascade.delete
+ @odata.draft.enclosed
+ children : Association to many Contents on children.parent = $self;
}
diff --git a/pom.xml b/pom.xml
index e547a030..f9828783 100644
--- a/pom.xml
+++ b/pom.xml
@@ -28,7 +28,7 @@
21
- 4.6.1
+ 4.7.0
5.26.0
3.6.5
3.8.6