improve object comparision of DbEntity and DbField
This commit is contained in:
@@ -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