fix: NEZ-3021 transfer 补充无用表删除逻辑
This commit is contained in:
@@ -28,6 +28,9 @@ public class AfterHandler implements CommandLineRunner {
|
||||
@Autowired
|
||||
private SqlDao sqlDao;
|
||||
|
||||
@Autowired
|
||||
private SqlHandler sqlHandler;
|
||||
|
||||
@Override
|
||||
public void run(String... args) throws Exception {
|
||||
|
||||
@@ -47,6 +50,9 @@ public class AfterHandler implements CommandLineRunner {
|
||||
sqlDao.execute(sb.toString());
|
||||
log.info("remove table successful");
|
||||
|
||||
sqlHandler.dropTable();
|
||||
log.info("remove useless table successful");
|
||||
|
||||
// nezha.properties database.pin
|
||||
// 21.07 -> 22.02 pin 加密
|
||||
String propsPath = "/opt/nezha/nz-web/config/nezha.properties";
|
||||
|
||||
Reference in New Issue
Block a user