aboutsummaryrefslogtreecommitdiffstats
path: root/schema.sql
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2025-06-06 18:55:08 +0200
committerGuilhem Moulin <guilhem@fripost.org>2025-06-06 23:31:20 +0200
commit1c93b2d9fafacd4ff8f4b04992bd57873691fdea (patch)
tree61524680d5a14f14c61b4fde960a68a7e5c0bb26 /schema.sql
parent443e657323600107ed21044c305ba5c5550e3aba (diff)
Add missing NOT NULL constraints on two wkb_geometry columns.
Diffstat (limited to 'schema.sql')
-rw-r--r--schema.sql4
1 files changed, 2 insertions, 2 deletions
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
);