diff schema/gemma.sql @ 5422:ad8e3fffb868 marking-single-beam

schema: geography supports MULTIPOINTZ as modifier.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Thu, 08 Jul 2021 10:53:26 +0200
parents 2d294ad81241
children 345515bc4548
line wrap: on
line diff
--- a/schema/gemma.sql	Thu Jul 08 01:46:03 2021 +0200
+++ b/schema/gemma.sql	Thu Jul 08 10:53:26 2021 +0200
@@ -833,7 +833,7 @@
         sounding_result_id int NOT NULL REFERENCES sounding_results
           ON DELETE CASCADE,
         height numeric NOT NULL,
-        points geometry(MULTIPOINTZ, 4326) NOT NULL,
+        points geography(MULTIPOINTZ, 4326) NOT NULL,
         PRIMARY KEY (sounding_result_id, height)
     )