diff schema/gemma.sql @ 4919:399458e60a9b fairway-marks-import

Geo styles as ZIP: Forgot to change the schema itself.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Fri, 14 Feb 2020 07:41:43 +0100
parents 8c1a3d5e3962
children 9bd6a0ca63ea
line wrap: on
line diff
--- a/schema/gemma.sql	Thu Feb 13 18:23:58 2020 +0100
+++ b/schema/gemma.sql	Fri Feb 14 07:41:43 2020 +0100
@@ -406,8 +406,8 @@
         key_column varchar,
         -- SRID to be used with SQL view:
         srid int REFERENCES spatial_ref_sys,
-        -- SLD style document:
-        style xml CHECK(style IS DOCUMENT),
+        -- SLD style document or ZIP blob:
+        style bytea,
         as_wms boolean NOT NULL DEFAULT TRUE,
         as_wfs boolean NOT NULL DEFAULT TRUE,
         -- Either give a valid relation or a SQL statement: