Fixed version transfer table for MySQL

This commit is contained in:
Rsl1122 2017-09-06 12:57:01 +03:00
parent fab0a0633a
commit 66d5551e20

View File

@ -35,7 +35,7 @@ public class Version8TransferTable extends Table {
private String tableRenameSql(String from, String to) {
return usingMySQL ?
"RENAME " + from + " TO " + to :
"RENAME TABLE " + from + " TO " + to :
"ALTER TABLE " + from + " RENAME TO " + to;
}