mirror of
https://github.com/CodePhiliaX/Chat2DB.git
synced 2025-07-31 11:42:41 +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.append("\t").append(mysqlIndexTypeEnum.buildModifyIndex(tableIndex)).append(",\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if(script.length()>2) {
|
||||||
script = new StringBuilder(script.substring(0, script.length() - 2));
|
script = new StringBuilder(script.substring(0, script.length() - 2));
|
||||||
script.append(";");
|
script.append(";");
|
||||||
|
}
|
||||||
|
|
||||||
return script.toString();
|
return script.toString();
|
||||||
}
|
}
|
||||||
|
@ -92,9 +92,10 @@ public class OracleSqlBuilder implements SqlBuilder {
|
|||||||
script.append("\t").append(mysqlIndexTypeEnum.buildModifyIndex(tableIndex)).append(";\n");
|
script.append("\t").append(mysqlIndexTypeEnum.buildModifyIndex(tableIndex)).append(";\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if(script.length()>2) {
|
||||||
script = new StringBuilder(script.substring(0, script.length() - 2));
|
script = new StringBuilder(script.substring(0, script.length() - 2));
|
||||||
script.append(";");
|
script.append(";");
|
||||||
|
}
|
||||||
|
|
||||||
return script.toString();
|
return script.toString();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user