Do not update the createdAt column when importing postal code which does not change

The conflict resolution clause in the SQL command of the PostalCodeBaseImporter service has been updated. It now only changes the 'updatedAt' timestamp if either the 'center' position or the 'label' actually differs from the existing entry. This ensures that the 'updatedAt' field reflects when meaningful changes occurred.
This commit is contained in:
2024-07-19 13:42:48 +02:00
parent 19accc4d00
commit ad5e780936
2 changed files with 8 additions and 1 deletions

View File

@@ -0,0 +1,6 @@
kind: Feature
body: Do not update the "createdAt" column when importing postal code which does not
change
time: 2024-07-19T13:42:41.208629736+02:00
custom:
Issue: ""