improve object comparision of DbEntity and DbField
This commit is contained in:
1 parent
195f3d0148
commit
ddce1c83dc
4 files changed
+56
-11
No files matched your search
@@ -507,7 +507,7 @@ public class MigrationCreator {
|
||||
}
|
||||
|
||||
private int compute() {
|
||||
return from.equalsExceptName(to) ? 1 : 0;
|
||||
return from.equalsExceptTypeAndFieldAndName(to) ? 1 : 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user