improve object comparision of DbEntity and DbField

This commit is contained in:
wea_ondara
2022-11-27 08:16:48 +01:00
parent 195f3d0148
commit ddce1c83dc
4 changed files with 56 additions and 11 deletions

View File

@@ -507,7 +507,7 @@ public class MigrationCreator {
}
private int compute() {
return from.equalsExceptName(to) ? 1 : 0;
return from.equalsExceptTypeAndFieldAndName(to) ? 1 : 0;
}
}
}