fixed tablemeta check

This commit is contained in:
agapple
2018-11-27 19:33:25 +08:00
parent 6c3b3acde0
commit 46b6528273
3 changed files with 7 additions and 11 deletions

View File

@@ -529,9 +529,10 @@ public class DatabaseTableMeta implements TableMetaTSDB {
return false;
}
if (!StringUtils.equalsIgnoreCase(sourceField.getDefaultValue(), targetField.getDefaultValue())) {
return false;
}
// if (!StringUtils.equalsIgnoreCase(sourceField.getDefaultValue(),
// targetField.getDefaultValue())) {
// return false;
// }
if (sourceField.isNullable() != targetField.isNullable()) {
return false;