Skip to content

Commit d3b7df0

Browse files
committed
add index on genres.parent_ID
1 parent b10502a commit d3b7df0

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

srv/src/main/resources/application.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ cds:
126126
spring:
127127
config.activate.on-profile: default
128128
sql.init.platform: h2
129+
sql.init.schema-locations: classpath:schema-h2.sql,classpath:indices-h2.sql
129130
cds:
130131
data-source:
131132
auto-config.enabled: false
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CREATE INDEX genres_parent_id ON my_bookshop_Genres(parent_ID);

0 commit comments

Comments
 (0)