Open mixedbredie opened 1 year ago
I understand the data_last_updated
field as a way for the “metadata administrator” to store the date of the last update of the geodata / layer itself (opposed to the last update of the metadata in update_date
). According to the docs, it is the “Date of the last modification of the target data (not on the dataset item line)”.
How is the
data_last_updated
field intended to be used? Thepgmetadata.dataset
table has thecreation_date
andupdate_date
fields that are populated by a trigger when the record is created or updated.In our workflow we have users editing PostGIS tables and updates are pushed into a live database where we have the pgmetadata plugin configured. Each time a table is created or updated we have a trigger that updates the
pgmetadata.dataset
table by either inserting a new record or updating an existing one. The date fields are populated. Thedata_last_updated
field is not referenced in any of the functions in the plugin and I was wondering whether this was for a manual update by a user.