mirror of
https://github.com/hs-web/hsweb-framework.git
synced 2026-07-01 00:34:19 +08:00
refactor: 优化
This commit is contained in:
@@ -120,8 +120,11 @@ public class AutoDDLProcessor implements InitializingBean {
|
||||
if (table == null) {
|
||||
SqlRequest request = schema.findFeatureNow(CreateTableSqlBuilder.ID).build(metadata);
|
||||
log.info("DDL SQL for {} \n{}", entity, request.toNativeSql());
|
||||
schema.addTable(metadata);
|
||||
}else {
|
||||
table.merge(metadata);
|
||||
}
|
||||
schema.addTable(metadata);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
4
pom.xml
4
pom.xml
@@ -262,7 +262,7 @@
|
||||
<path>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok</artifactId>
|
||||
<version>1.18.30</version>
|
||||
<version>1.18.42</version>
|
||||
</path>
|
||||
</annotationProcessorPaths>
|
||||
</configuration>
|
||||
@@ -442,7 +442,7 @@
|
||||
<dependency>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok</artifactId>
|
||||
<version>1.18.30</version>
|
||||
<version>1.18.42</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user