diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2025-04-22 21:33:42 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2025-05-01 15:29:51 +0200 |
commit | ad38438a0b980ee816e1573bf18362e72345fa4d (patch) | |
tree | 8a276f36710dab903155bbdff05f7b516f5a5a00 /schema.sql | |
parent | 12c3c9ddbf6b3aa36c70fa90477d6ae8e132a230 (diff) |
webmap-import: Fingerprint destination layers to detect changes.
Comparing modification times is not enough since some sources (for
instance Naturvårdsverket's SCI_Rikstackande) are updated on the server
even though no objects are being added; the source layer remains
unchanged but the file differs because of OBJECTID changes we are not
interested in.
Diffstat (limited to 'schema.sql')
-rw-r--r-- | schema.sql | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -3012,7 +3012,8 @@ ALTER SEQUENCE postgis."vbk:vindkraftverk_ogc_fid_seq" OWNED BY postgis."vbk:vin CREATE TABLE public.layercache ( ogc_fid bigint NOT NULL, layername character varying(255) NOT NULL, - last_updated timestamp with time zone DEFAULT CURRENT_TIMESTAMP NOT NULL + last_updated timestamp with time zone DEFAULT CURRENT_TIMESTAMP NOT NULL, + fingerprint bytea NOT NULL ); |