Mercurial > gemma
annotate schema/updates/1107/01.reindex_import_logs.sql @ 5030:737d7859dd86
Store fairway dimensions as MultiPolygon
This avoids storing a single invalid geometry from the data source
as multiple valid geometries with duplicate attribute sets.
The previous behaviour was not correctly handled in import tracking,
because only the ID of the first item in a set of multiple geometries
generated from a single entry from the data source was tracked.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Wed, 18 Mar 2020 18:42:30 +0100 |
parents | 65a5501dc13d |
children |
rev | line source |
---|---|
4187
65a5501dc13d
Enable faster access to import logs
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
1 DROP INDEX import.kind_idx; |
65a5501dc13d
Enable faster access to import logs
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
2 CREATE INDEX import_logs_import_id ON import.import_logs (import_id); |