[PATCH 3 of 4] Add wsts column for S-INFO selection flag

Wald Commits scm-commit at wald.intevation.org
Tue Apr 3 08:32:09 CEST 2018


# HG changeset patch
# User mschaefer
# Date 1522737002 -7200
# Node ID 3c11bf4d7778072470430b3b2170608181ebd732
# Parent  5b23efe99e80a540adbc3e54eeda26423241c0a4
Add wsts column for S-INFO selection flag

diff -r 5b23efe99e80 -r 3c11bf4d7778 backend/doc/schema/postgresql-alter-wsts.sql
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/backend/doc/schema/postgresql-alter-wsts.sql	Tue Apr 03 08:30:02 2018 +0200
@@ -0,0 +1,9 @@
+BEGIN;
+
+
+--Add a column to specify S-INFO selection
+ALTER TABLE wsts ADD COLUMN sinfo_selection VARCHAR(1) CHECK((sinfo_selection IS NULL) OR (sinfo_selection IN ('W','Q')));
+COMMENT ON COLUMN wsts.sinfo_selection IS 'Whether and how the WST series is selected within S-INFO calculation types ("W"=without-Q-group, "Q"=with-Q-group, NULL=not-selectable)' ;
+
+
+COMMIT;


More information about the Dive4Elements-commits mailing list