[Lada-commits] [PATCH 05 of 12] Use status_kombi as FK in status_protokol
Wald Commits
scm-commit at wald.intevation.org
Mon Jul 4 12:09:11 CEST 2016
# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1467624299 -7200
# Branch schema-update
# Node ID c1e00e1fe5c87dd9fc7c54e8e9912781ff25a6f9
# Parent f0ac901a4387a560f97bd8347a3cf7809474d01c
Use status_kombi as FK in status_protokol
diff -r f0ac901a4387 -r c1e00e1fe5c8 db_schema/lada_schema.sql
--- a/db_schema/lada_schema.sql Mon Jul 04 10:00:08 2016 +0200
+++ b/db_schema/lada_schema.sql Mon Jul 04 11:24:59 2016 +0200
@@ -302,8 +302,7 @@
datum timestamp without time zone DEFAULT now(),
text character varying(1024),
messungs_id integer NOT NULL REFERENCES messung ON DELETE CASCADE,
- status_stufe integer NOT NULL REFERENCES stammdaten.status_stufe,
- status_wert integer NOT NULL REFERENCES stammdaten.status_wert,
+ status_kombi integer NOT NULL REFERENCES stammdaten.status_kombi,
tree_modified timestamp without time zone DEFAULT now()
);
CREATE TRIGGER tree_modified_status_protokoll BEFORE UPDATE ON status_protokoll FOR EACH ROW EXECUTE PROCEDURE update_tree_modified();
More information about the Lada-commits
mailing list