From 1c93b2d9fafacd4ff8f4b04992bd57873691fdea Mon Sep 17 00:00:00 2001
From: Guilhem Moulin <guilhem@fripost.org>
Date: Fri, 6 Jun 2025 18:55:08 +0200
Subject: Add missing NOT NULL constraints on two wkb_geometry columns.

---
 schema.sql | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'schema.sql')

diff --git a/schema.sql b/schema.sql
index f5715e1..573587d 100644
--- a/schema.sql
+++ b/schema.sql
@@ -327,7 +327,7 @@ ALTER SEQUENCE postgis.kommunyta_ogc_fid_seq OWNED BY postgis.kommunyta.ogc_fid;
 CREATE TABLE postgis.kommunyta_sub (
     ogc_fid bigint NOT NULL,
     kommunkod smallint NOT NULL,
-    wkb_geometry postgis.geometry(Polygon,3006)
+    wkb_geometry postgis.geometry(Polygon,3006) NOT NULL
 );
 
 
@@ -404,7 +404,7 @@ ALTER SEQUENCE postgis.lansyta_ogc_fid_seq OWNED BY postgis.lansyta.ogc_fid;
 CREATE TABLE postgis.lansyta_sub (
     ogc_fid bigint NOT NULL,
     lanskod smallint NOT NULL,
-    wkb_geometry postgis.geometry(Polygon,3006)
+    wkb_geometry postgis.geometry(Polygon,3006) NOT NULL
 );
 
 
-- 
cgit v1.2.3

