[Lada-commits] [PATCH 2 of 3] Remove outdated duplicate VIEW definition

Wald Commits scm-commit at wald.intevation.org
Thu Nov 19 12:13:28 CET 2015


# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1447931483 -3600
# Node ID 84cc23ab49f757277c959abecf2b4b5a22b0cbf4
# Parent  e15c981fe310ef053c988d1a46c9a7b9ac9081f8
Remove outdated duplicate VIEW definition.

diff -r e15c981fe310 -r 84cc23ab49f7 db_schema/lada_schema.sql
--- a/db_schema/lada_schema.sql	Thu Nov 19 11:45:00 2015 +0100
+++ b/db_schema/lada_schema.sql	Thu Nov 19 12:11:23 2015 +0100
@@ -1770,22 +1770,6 @@
 
 
 --
--- Name: status_erreichbar; Type: VIEW; Schema: stammdaten; Owner: -
---
-
-CREATE VIEW status_erreichbar AS
- SELECT DISTINCT k.wert_id,
-    j.wert_id AS cur_wert,
-    j.stufe_id AS cur_stufe
-   FROM (status_kombi k
-     JOIN ( SELECT r.zu_id,
-            kom.wert_id,
-            kom.stufe_id
-           FROM (status_reihenfolge r
-             JOIN status_kombi kom ON ((kom.id = r.von_id)))) j ON ((j.zu_id = k.id)));
-
-
---
 -- Name: status_stufe; Type: TABLE; Schema: stammdaten; Owner: -; Tablespace: 
 --
 


More information about the Lada-commits mailing list