[PATCH 1 of 2] Schema change: add new field 'source' to wst_columns, currently only for official lines

Wald Commits scm-commit at wald.intevation.org
Fri Jun 28 16:59:10 CEST 2013


# HG changeset patch
# User Tom Gottfried <tom.gottfried at intevation.de>
# Date 1372431526 -7200
# Branch double-precision
# Node ID 3b93f439e95407f2fe487736fa9a817ddc623277
# Parent  5910ada51a9f951abfcbd55cbc17bed63a281894
Schema change: add new field 'source' to wst_columns, currently only for official lines

diff -r 5910ada51a9f -r 3b93f439e954 backend/doc/schema/oracle.sql
--- a/backend/doc/schema/oracle.sql	Thu Jun 27 18:08:41 2013 +0200
+++ b/backend/doc/schema/oracle.sql	Fri Jun 28 16:58:46 2013 +0200
@@ -325,6 +325,7 @@
     id                  NUMBER(38,0) NOT NULL,
     description         VARCHAR2(255),
     name                VARCHAR2(255) NOT NULL,
+    source              VARCHAR(256),
     position            NUMBER(38,0) NOT NULL DEFAULT 0,
     time_interval_id    NUMBER(38,0),
     wst_id              NUMBER(38,0) NOT NULL,
diff -r 5910ada51a9f -r 3b93f439e954 backend/doc/schema/postgresql.sql
--- a/backend/doc/schema/postgresql.sql	Thu Jun 27 18:08:41 2013 +0200
+++ b/backend/doc/schema/postgresql.sql	Fri Jun 28 16:58:46 2013 +0200
@@ -201,6 +201,7 @@
     wst_id      int NOT NULL REFERENCES wsts(id) ON DELETE CASCADE,
     name        VARCHAR(256) NOT NULL,
     description VARCHAR(256),
+    source      VARCHAR(256),
     position    int NOT NULL DEFAULT 0,
 
     time_interval_id int REFERENCES time_intervals(id),


More information about the Dive4elements-commits mailing list