[Lada-commits] [PATCH 1 of 9] Fixed database function
Wald Commits
scm-commit at wald.intevation.org
Fri Dec 18 18:01:41 CET 2015
# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1450456350 -3600
# Node ID 6e5a0edba3631fd1efdfd3214a7e38f031f128e7
# Parent 5155b0b375cd72295473f8d663f3acfea42bf72e
Fixed database function.
diff -r 5155b0b375cd -r 6e5a0edba363 db_schema/lada_schema.sql
--- a/db_schema/lada_schema.sql Thu Dec 03 12:01:27 2015 +0100
+++ b/db_schema/lada_schema.sql Fri Dec 18 17:32:30 2015 +0100
@@ -152,7 +152,7 @@
NEW.tree_modified = now();
RAISE NOTICE 'updating other rows';
UPDATE land.messung SET tree_modified = now() WHERE probe_id = NEW.id;
- UPDATE land.ort SET tree_modified = now() WHERE probe_id = NEW.id;
+ UPDATE land.ortszuordnung SET tree_modified = now() WHERE probe_id = NEW.id;
UPDATE land.zusatz_wert SET tree_modified = now() WHERE probe_id = NEW.id;
RETURN NEW;
END;
More information about the Lada-commits
mailing list