YukonWRB / AquaCache

Package to create and update a postgres database holding water and climate related data
GNU Affero General Public License v3.0
3 stars 0 forks source link

Implement 'no_update' columns #115

Closed gdelaplante closed 3 months ago

gdelaplante commented 3 months ago

Tables calculated_daily, measurements_continuous, measurements_discrete have a column called 'no_update'. This is intended as a flag to prevent data in the remote databases or data stores from overwriting AquaCache data, which is the default behaviour.

Workflows in function synchronize() need to be updated to prevent this overwrite.

gdelaplante commented 3 months ago

Synchronize now ignores no_update rows even if there is conflicting data on the remotes.