From 2306ccc51213d65ec557d0469db98fad42caa6a9 Mon Sep 17 00:00:00 2001 From: Lorenz Stechauner Date: Mon, 22 May 2023 22:35:26 +0200 Subject: [PATCH] Small fixes in db --- sql/v01/10.create.sql | 2 +- sql/v01/50.base.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sql/v01/10.create.sql b/sql/v01/10.create.sql index c7413ec..4265a96 100644 --- a/sql/v01/10.create.sql +++ b/sql/v01/10.create.sql @@ -492,7 +492,7 @@ CREATE TABLE delivery_part ( spl_check INTEGER NOT NULL CHECK (spl_check IN (TRUE, FALSE)) DEFAULT FALSE, hand_picked INTEGER CHECK (hand_picked IN (TRUE, FALSE)) DEFAULT NULL, - lesewagen INTEGER CHECK (lesewagen IN (True, FALSE)) DEFAULT NULL, + lesewagen INTEGER CHECK (lesewagen IN (TRUE, FALSE)) DEFAULT NULL, temperature REAL DEFAULT NULL, acid REAL DEFAULT NULL, diff --git a/sql/v01/50.base.sql b/sql/v01/50.base.sql index 6dab300..f3b13de 100644 --- a/sql/v01/50.base.sql +++ b/sql/v01/50.base.sql @@ -39,7 +39,7 @@ INSERT INTO wine_quality_level VALUES ('AUL', 3, TRUE, 21.0, 'Auslese'), ('BAL', 3, TRUE, 25.0, 'Beerenauslese'), ('TBA', 3, TRUE, 30.0, 'Trockenbeerenauslese'), -('DAC', 3, TRUE, 15.0, 'Districtus Austriae Controllatus'); +('DAC', 3, TRUE, 15.0, 'DAC'); --INSERT INTO wine_quality_level (qualid, name) --('EIW', 'Eiswein'),