From 09b60e197b2a24c3983c3fc3bc85b1d87508ca4f Mon Sep 17 00:00:00 2001
From: schroeder5 <s.schroeder@fz-juelich.de>
Date: Sun, 16 Feb 2025 15:24:08 +0000
Subject: [PATCH] #176: upload corrected fixture for toar database with correct
 default value for toar2_category

---
 tests/fixtures/toardb_pytest.psql | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/fixtures/toardb_pytest.psql b/tests/fixtures/toardb_pytest.psql
index e12ca09..02fddc8 100644
--- a/tests/fixtures/toardb_pytest.psql
+++ b/tests/fixtures/toardb_pytest.psql
@@ -2819,7 +2819,7 @@ CREATE TABLE IF NOT EXISTS public.stationmeta_global (
     max_topography_srtm_relative_alt_5km_year1994 double precision DEFAULT '-999.0'::numeric NOT NULL,
     dominant_landcover_year2012 integer DEFAULT '-1'::integer NOT NULL,
     toar1_category integer DEFAULT '-1'::integer NOT NULL,
-    toar2_category integer DEFAULT '-1'::integer NOT NULL,
+    toar2_category integer DEFAULT '0'::integer NOT NULL,
     station_id integer NOT NULL,
     min_topography_srtm_relative_alt_5km_year1994 double precision DEFAULT '-999.0'::numeric NOT NULL,
     stddev_topography_srtm_relative_alt_5km_year1994 double precision DEFAULT '-999.0'::numeric NOT NULL,
@@ -3920,7 +3920,7 @@ ALTER TABLE ONLY public.stationmeta_global
 
 
 --
--- Name: stationmeta_global stationmeta_global_toar2_category_fk_tc_vocabulary_enum_val; Type: FK CONSTRAINT; Schema: public; Owner: postgres
+-- Name: stationmeta_global stationmeta_global_toar2_category_fk_ta_vocabulary_enum_val; Type: FK CONSTRAINT; Schema: public; Owner: postgres
 --
 
 ALTER TABLE ONLY public.stationmeta_global
-- 
GitLab