add - 新增脚本日志记录
This commit is contained in:
parent
1de49eda23
commit
15b6fba7a8
@ -1,5 +1,6 @@
|
||||
package cn.axzo.workflow.server.conf;
|
||||
|
||||
import cn.axzo.framework.jackson.utility.JSON;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.flowable.spring.SpringProcessEngineConfiguration;
|
||||
@ -51,7 +52,7 @@ public class ExtDatabaseInitializer implements ApplicationRunner {
|
||||
if (Objects.equals(DB_SCHEMA_UPDATE_DROP_CREATE, springProcessEngineConfiguration.getDatabaseSchemaUpdate())) {
|
||||
tables.forEach(this::executeSqlScript);
|
||||
}
|
||||
|
||||
log.debug("tables: {}", JSON.toJSONString(tables));
|
||||
localSqlFiles().forEach(i -> {
|
||||
if (!tables.contains(i.replace(".sql", "").toUpperCase())) {
|
||||
log.debug("execute sql script: {}", i);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user