Skip to content

Commit

Permalink
DAT-19082: Fix issue with losing changed datatype attributes when one…
Browse files Browse the repository at this point in the history
… datatype is an int and the other is not (#6621)

[DAT-19082] Fix issue with losing changed datatypes when one datatype is an int and the other is not.

Co-authored-by: suryaaki2 <[email protected]>
  • Loading branch information
abrackx and suryaaki2 authored Jan 9, 2025
1 parent 40ef1af commit e68abdc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public ObjectDifferences findDifferences(DatabaseObject databaseObject1, Databas
ObjectDifferences differences = chain.findDifferences(databaseObject1, databaseObject2, accordingTo, compareControl, exclude);

DataType type1 = ((Column) databaseObject1).getType();
DataType type2 = ((Column) databaseObject1).getType();
DataType type2 = ((Column) databaseObject2).getType();

differences.compare("name", databaseObject1, databaseObject2, new ObjectDifferences.DatabaseObjectNameCompareFunction(Column.class, accordingTo));
compareTypes(databaseObject1, databaseObject2, accordingTo, type1, type2, differences);
Expand Down

0 comments on commit e68abdc

Please sign in to comment.