Closed InvisibleEmbrace closed 5 years ago
系统启动自动创建表,初始化数据在flash-api/src/main/resources/import.sql
已找到问题,在application.properties中注释了如下三行代码后不能自动建表 spring.jpa.hibernate.ddl-auto=create spring.datasource.sql-script-encoding=utf-8 server.servlet.context-path=/api
系统启动自动创建表,初始化数据在flash-api/src/main/resources/import.sql