When a model update is triggered via save() method all fields with the 'data_type' property set to "int" will also get incorrectly marked for update. This means any integer fields will always be updated even if their values have not change.
Changes
Fix incorrect integer change detection when updating a model. If the model data type is set to 'int' then use a soft comparison exactly like the is_changed() method by checking the data_type and using loose comparison instead of strict comparison.
When a model update is triggered via save() method all fields with the 'data_type' property set to "int" will also get incorrectly marked for update. This means any integer fields will always be updated even if their values have not change.
Changes
Steps to Test
some_example_integer
is not being updated as part of the update query.