Skip to content

Commit 0b9ce6c

Browse files
committed
fix: Modify database initialization data
1 parent 0e44141 commit 0b9ce6c

File tree

7 files changed

+352
-360
lines changed

7 files changed

+352
-360
lines changed

app/src/main/resources/application-local.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ spring:
88
password:
99
sql:
1010
init:
11-
schema-locations: classpath:sql/h2/create_all_tables_ddl_v1.h2.sql
12-
data-locations: classpath:sql/h2/init_data_for_test.sql
11+
schema-locations: classpath:sql/h2/create_all_tables_ddl_v1.0.0.h2.sql
12+
data-locations: classpath:sql/h2/init_data_for_test_v1.0.0.sql
1313

1414
springdoc:
1515
api-docs:

app/src/main/resources/sql/h2/create_all_tables_ddl_v1.h2.sql renamed to app/src/main/resources/sql/h2/create_all_tables_ddl_v1.0.0.h2.sql

File renamed without changes.

app/src/main/resources/sql/h2/init_data_for_test.sql

Lines changed: 0 additions & 178 deletions
This file was deleted.

app/src/main/resources/sql/h2/init_data_for_test_v1.0.0.sql

Lines changed: 175 additions & 0 deletions
Large diffs are not rendered by default.

app/src/main/resources/sql/mysql/create_all_tables_ddl_v1.mysql.sql renamed to app/src/main/resources/sql/mysql/create_all_tables_ddl_v1.0.0.mysql.sql

File renamed without changes.

app/src/main/resources/sql/mysql/init_data_for_test.sql

Lines changed: 0 additions & 180 deletions
This file was deleted.

app/src/main/resources/sql/mysql/init_data_for_test_v1.0.0.sql

Lines changed: 175 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)