mirror of
https://github.com/CodePhiliaX/Chat2DB.git
synced 2025-08-02 21:50:43 +08:00
Add operation log
This commit is contained in:
@ -95,9 +95,10 @@ public class MysqlSqlBuilder implements SqlBuilder {
|
||||
script.append("\t").append(mysqlIndexTypeEnum.buildModifyIndex(tableIndex)).append(",\n");
|
||||
}
|
||||
}
|
||||
|
||||
script = new StringBuilder(script.substring(0, script.length() - 2));
|
||||
script.append(";");
|
||||
if(script.length()>2) {
|
||||
script = new StringBuilder(script.substring(0, script.length() - 2));
|
||||
script.append(";");
|
||||
}
|
||||
|
||||
return script.toString();
|
||||
}
|
||||
|
@ -92,9 +92,10 @@ public class OracleSqlBuilder implements SqlBuilder {
|
||||
script.append("\t").append(mysqlIndexTypeEnum.buildModifyIndex(tableIndex)).append(";\n");
|
||||
}
|
||||
}
|
||||
|
||||
script = new StringBuilder(script.substring(0, script.length() - 2));
|
||||
script.append(";");
|
||||
if(script.length()>2) {
|
||||
script = new StringBuilder(script.substring(0, script.length() - 2));
|
||||
script.append(";");
|
||||
}
|
||||
|
||||
return script.toString();
|
||||
}
|
||||
|
Reference in New Issue
Block a user