Skip to content
Snippets Groups Projects
Commit c05d84d8 authored by Sabine Schröder's avatar Sabine Schröder
Browse files

#3: pretty printing (because of wrong place for measurement method vocabulary)

parent 63edd0da
No related branches found
No related tags found
No related merge requests found
Pipeline #39997 passed
...@@ -134,6 +134,19 @@ INSERT INTO DS_vocabulary (enum_val, enum_str, enum_display_str) VALUES ...@@ -134,6 +134,19 @@ INSERT INTO DS_vocabulary (enum_val, enum_str, enum_display_str) VALUES
(0, 'Model', 'model'), (0, 'Model', 'model'),
(1, 'Measurement', 'measurement'); (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 -- Stationmeta
-- =========== -- ===========
...@@ -287,19 +300,6 @@ INSERT INTO DL_vocabulary (enum_val, enum_str, enum_display_str) VALUES ...@@ -287,19 +300,6 @@ INSERT INTO DL_vocabulary (enum_val, enum_str, enum_display_str) VALUES
( 16, 'Barren', '16 (Barren or sparsely vegetated)'), ( 16, 'Barren', '16 (Barren or sparsely vegetated)'),
(255, 'Fill', '255 (Fill Value/Unclassified)'); (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 -- Result Types
CREATE TABLE IF NOT EXISTS RT_vocabulary ( CREATE TABLE IF NOT EXISTS RT_vocabulary (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment