Skip to content

Commit e77f4f4

Browse files
committed
review feedback
1 parent c127115 commit e77f4f4

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,10 +143,10 @@ are defined for local development:
143143

144144
### Testing in hybrid mode
145145

146-
You can test the `GenreHierarchyTest` on H2 using the profile `default` as well as on HANA using the profile `hybrid`
146+
You can test the `GenreHierarchyTest` on H2 using the profile `default` as well as on HANA using the profile `cloud`
147147

148148
```
149-
cds bind --exec -- mvn clean install -Dspring.profiles.active=hybrid
149+
cds bind --exec -- mvn clean install -Dspring.profiles.active=cloud
150150
```
151151

152152
## Using VS Code

db/books.cds

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ namespace my.bookshop;
22

33
using {
44
Currency,
5+
sap,
56
managed,
67
cuid
78
} from '@sap/cds/common';
@@ -47,10 +48,8 @@ annotate Authors with
4748
/**
4849
* Hierarchically organized Code List for Genres
4950
*/
50-
entity Genres {
51+
entity Genres : sap.common.CodeList {
5152
key ID : Integer;
52-
name : localized String(255);
53-
descr : localized String(1000);
5453
parent : Association to Genres;
5554
children : Composition of many Genres
5655
on children.parent = $self;

0 commit comments

Comments
 (0)