Unverified Commit 4013cfae authored by Zzm0809's avatar Zzm0809 Committed by GitHub

[Fix] fix h2 config error (#3590)

Signed-off-by: 's avatarZzm0809 <934230207@qq.com>
parent cb1faee3
......@@ -18,7 +18,7 @@
spring:
datasource:
driver-class-name: org.h2.Driver
url: jdbc:h2:${H2_DB:'mem:dinky'};MODE=MySQL;DB_CLOSE_DELAY=-1;DATABASE_TO_LOWER=true;
url: jdbc:h2:${H2_DB:mem:dinky};MODE=MySQL;DB_CLOSE_DELAY=-1;DATABASE_TO_LOWER=true;
# Note: Since dinky version 1.1.0, Flyway has been integrated, so h2 defaults to memory mode and no longer uses file mode (persistence).
# File mode can cause Flyway to fail to execute duplicate column addition operations correctly
# as h2 does not support stored procedures and cannot determine the existence of columns through stored procedures. Therefore, please do not use file mode
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment