From c05d84d8e5831b6d93d616c4d44c9fc4f61e3933 Mon Sep 17 00:00:00 2001 From: schroeder5 <s.schroeder@fz-juelich.de> Date: Mon, 29 Jun 2020 18:30:51 +0200 Subject: [PATCH] #3: pretty printing (because of wrong place for measurement method vocabulary) --- .../toar_controlled_vocabulary--0.1.sql | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/extension/toar_controlled_vocabulary-0.1/toar_controlled_vocabulary--0.1.sql b/extension/toar_controlled_vocabulary-0.1/toar_controlled_vocabulary--0.1.sql index 649864b..52bfa7f 100644 --- a/extension/toar_controlled_vocabulary-0.1/toar_controlled_vocabulary--0.1.sql +++ b/extension/toar_controlled_vocabulary-0.1/toar_controlled_vocabulary--0.1.sql @@ -134,6 +134,19 @@ INSERT INTO DS_vocabulary (enum_val, enum_str, enum_display_str) VALUES (0, 'Model', 'model'), (1, 'Measurement', 'measurement'); +-- Measurement Methods + +CREATE TABLE IF NOT EXISTS MM_vocabulary ( + enum_val INT NOT NULL, + enum_str character varying(128) NOT NULL, + enum_display_str character varying(128) NOT NULL, + PRIMARY KEY(enum_val, enum_str) +); + +INSERT INTO MM_vocabulary (enum_val, enum_str, enum_display_str) VALUES + (0, 'UVAbsorption', 'UV absorption'), + (1, 'UnknownInstrument', 'unknown instrument'); + -- Stationmeta -- =========== @@ -287,19 +300,6 @@ INSERT INTO DL_vocabulary (enum_val, enum_str, enum_display_str) VALUES ( 16, 'Barren', '16 (Barren or sparsely vegetated)'), (255, 'Fill', '255 (Fill Value/Unclassified)'); --- Measurement Methods - -CREATE TABLE IF NOT EXISTS MM_vocabulary ( - enum_val INT NOT NULL, - enum_str character varying(128) NOT NULL, - enum_display_str character varying(128) NOT NULL, - PRIMARY KEY(enum_val, enum_str) -); - -INSERT INTO MM_vocabulary (enum_val, enum_str, enum_display_str) VALUES - (0, 'UVAbsorption', 'UV absorption'), - (1, 'UnknownInstrument', 'unknown instrument'); - -- Result Types CREATE TABLE IF NOT EXISTS RT_vocabulary ( -- GitLab