Fix migrations
This commit is contained in:
@@ -213,9 +213,11 @@ public abstract class BaseMigration implements MigrationModelInterface {
|
||||
}
|
||||
|
||||
protected void dropTable(String tableName) throws SQLException, IOException {
|
||||
if (existsTable(tableName)) {
|
||||
String dropSql = "DROP TABLE " + tableName;
|
||||
executeStatement(dropSql);
|
||||
}
|
||||
}
|
||||
|
||||
protected void createSetupQuery(String codQuery, String name, String query) throws SQLException, IOException {
|
||||
if (UtilityString.isNullOrEmpty(codQuery)) {
|
||||
|
||||
Reference in New Issue
Block a user