From 32c2341dbcaffe4838ee008843c1873e99b6bfcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mirko=20M=C3=A4licke?= Date: Thu, 19 Dec 2024 09:19:35 +0100 Subject: [PATCH] fix not null constraint in install --- metacatalog_api/sql/maintain/install.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metacatalog_api/sql/maintain/install.sql b/metacatalog_api/sql/maintain/install.sql index 848d18e..7869775 100644 --- a/metacatalog_api/sql/maintain/install.sql +++ b/metacatalog_api/sql/maintain/install.sql @@ -235,7 +235,7 @@ CREATE TABLE IF NOT EXISTS {schema}.datasources ( id integer NOT NULL DEFAULT nextval('datasources_id_seq'::regclass), type_id integer NOT NULL, - datatype_id integer NOT NULL, + datatype_id integer, encoding character varying(64) COLLATE pg_catalog."default", path character varying COLLATE pg_catalog."default" NOT NULL, data_names character varying(128)[] COLLATE pg_catalog."default",