[Lada-commits] [PATCH 06 of 12] Renamed/Removed some columns

Wald Commits scm-commit at wald.intevation.org
Mon Jul 4 12:09:12 CEST 2016


# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1467624340 -7200
# Branch schema-update
# Node ID 302f800ba58851ff624cbe776ddc380529da379a
# Parent  c1e00e1fe5c87dd9fc7c54e8e9912781ff25a6f9
Renamed/Removed some columns.

diff -r c1e00e1fe5c8 -r 302f800ba588 db_schema/stammdaten_schema.sql
--- a/db_schema/stammdaten_schema.sql	Mon Jul 04 11:24:59 2016 +0200
+++ b/db_schema/stammdaten_schema.sql	Mon Jul 04 11:25:40 2016 +0200
@@ -134,7 +134,6 @@
     is_bmn boolean DEFAULT false,
     mailverteiler character varying(512),
     aktiv boolean DEFAULT false,
-    zust_mst_id character varying(5)
 );
 
 
@@ -187,7 +186,7 @@
 
 CREATE TABLE auth_lst_umw (
     id integer PRIMARY KEY DEFAULT nextval('auth_lst_umw_id_seq'::regclass),
-    lst_id character varying(5),
+    mst_id character varying(5),
     umw_id character varying(3)
 );
 
@@ -221,7 +220,7 @@
     id integer PRIMARY KEY
         DEFAULT nextval('datensatz_erzeuger_id_seq'::regclass),
     netzbetreiber_id character varying(2) NOT NULL REFERENCES netz_betreiber,
-    da_erzeuger_id character varying(2) NOT NULL,
+    datensatz_erzeuger_id character varying(2) NOT NULL,
     mst_id character varying(5) NOT NULL REFERENCES mess_stelle,
     bezeichnung character varying(120) NOT NULL,
     letzte_aenderung timestamp without time zone,
@@ -476,7 +475,7 @@
     id integer PRIMARY KEY
         DEFAULT nextval('messprogramm_kategorie_id_seq'::regclass),
     netzbetreiber_id character varying(2) NOT NULL REFERENCES netz_betreiber,
-    mpl_id character varying(3) NOT NULL,
+    code character varying(3) NOT NULL,
     bezeichnung character varying(120) NOT NULL,
     letzte_aenderung timestamp without time zone,
     UNIQUE(mpl_id, netzbetreiber_id)


More information about the Lada-commits mailing list