Mercurial > gemma
view schema/updates/1460/01.markings.sql @ 5560:f2204f91d286
Join the log lines of imports to the log exports to recover data from them.
Used in SR export to extract information that where in the meta json
but now are only found in the log.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Wed, 09 Feb 2022 18:34:40 +0100 |
parents | ad8e3fffb868 |
children |
line wrap: on
line source
INSERT INTO survey_types (survey_type) VALUES ('marking'); CREATE TABLE waterway.sounding_results_marking_points ( sounding_result_id int NOT NULL REFERENCES waterway.sounding_results ON DELETE CASCADE, height numeric NOT NULL, points geography(MULTIPOINTZ, 4326) NOT NULL, PRIMARY KEY (sounding_result_id, height) ); GRANT INSERT, UPDATE, DELETE ON waterway.sounding_results_marking_points TO waterway_admin; GRANT SELECT ON waterway.sounding_results_marking_points TO waterway_user;