mirror of
https://github.com/CodePhiliaX/Chat2DB.git
synced 2025-07-29 10:43:06 +08:00
support table online edit
This commit is contained in:
@ -104,6 +104,6 @@ public enum MysqlIndexTypeEnum {
|
||||
if (MysqlIndexTypeEnum.PRIMARY_KEY.getName().equals(tableIndex.getType())) {
|
||||
return StringUtils.join("DROP PRIMARY KEY");
|
||||
}
|
||||
return StringUtils.join("DROP KEY `", tableIndex.getName());
|
||||
return StringUtils.join("DROP KEY `", tableIndex.getOldName());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user