[Lada-commits] [PATCH 2 of 4] Removed NOT NULL constraint from stammdaten.ort.staat_id

Wald Commits scm-commit at wald.intevation.org
Wed Nov 16 15:59:29 CET 2016


# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1479308234 -3600
# Node ID 33dc7dc6b7bc98e27b243ed2b1b5ed0e71ed05e5
# Parent  60b91dbb98cc6b6d4a5124fa90a2c9566c928ecc
Removed NOT NULL constraint from stammdaten.ort.staat_id.

diff -r 60b91dbb98cc -r 33dc7dc6b7bc db_schema/stammdaten_schema.sql
--- a/db_schema/stammdaten_schema.sql	Wed Nov 16 15:56:43 2016 +0100
+++ b/db_schema/stammdaten_schema.sql	Wed Nov 16 15:57:14 2016 +0100
@@ -440,7 +440,7 @@
     netzbetreiber_id character varying(2) NOT NULL REFERENCES netz_betreiber,
     ort_id character varying(10) NOT NULL,
     langtext character varying(100) NOT NULL,
-    staat_id smallint NOT NULL REFERENCES staat,
+    staat_id smallint REFERENCES staat,
     gem_id character varying(8) REFERENCES verwaltungseinheit,
     unscharf character(1) DEFAULT NULL::bpchar,
     nuts_code character varying(10),


More information about the Lada-commits mailing list