dyc87112 / spring-cloud-config-admin

Spring Cloud Config的综合管理后台(简称:SCCA)
https://dyc87112.github.io/spring-cloud-config-admin-doc/
Apache License 2.0
658 stars 262 forks source link

缺少 rest 相关数据库初始化脚本 #93

Open yingw opened 6 years ago

yingw commented 6 years ago

建议提供初始化rest需要的8个表的sql脚本,在运行 scca-use-case-db\half-separation\scca-ui-rest-server-db 项目时会缺少表而启动失败,加上配置:spring.jpa.hibernate.ddl-auto=update 可以自动创建表。

但是也在 plugin-db 中看到该配置,但是在case 项目中不起作用,不知为何。

innerpeacez commented 6 years ago

spring.jpa.show-sql= true spring.jpa.hibernate.ddl-auto=update spring.jpa.hibernate.dialect=org.hibernate.dialect.MySQL5Dialect spring.jackson.serialization.indent_output=false

我是这么配置的