spring.datasource.schema=classpath:db/schema.sql
在springboot2.0报错:
org.h2.jdbc.JdbcSQLException: Schema "classpath:db/schema.sql" not found [90079-197]
1.x中没有问题
spring.datasource.schema=classpath:db/schema.sql
在springboot2.0报错:
org.h2.jdbc.JdbcSQLException: Schema "classpath:db/schema.sql" not found [90079-197]
1.x中没有问题
“initialization-mode:always” 在yml或者perproties中增加这个配置。2.0之后好像就需要这个了