[PATCH 1 of 2] SCHEMA CHANGE: renamed uuid-column to avoid collision with data type

Wald Commits scm-commit at wald.intevation.org
Thu Feb 6 15:05:33 CET 2014


# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1391695469 -3600
# Node ID 69c8d33a05e8c7a3ab35a25fa22ef4d081bd07f1
# Parent  44a9233c62eb322d952e109256f4fb853c045906
SCHEMA CHANGE: renamed uuid-column to avoid collision with data type.

diff -r 44a9233c62eb -r 69c8d33a05e8 backend/doc/schema/oracle.sql
--- a/backend/doc/schema/oracle.sql	Thu Feb 06 13:22:10 2014 +0100
+++ b/backend/doc/schema/oracle.sql	Thu Feb 06 15:04:29 2014 +0100
@@ -262,7 +262,7 @@
 
 CREATE TABLE rivers (
     id                  NUMBER(38,0) NOT NULL,
-    uuid                CHAR(37 CHAR),
+    model_uuid          CHAR(37 CHAR),
     official_number     NUMBER(38,0),
     km_up               NUMBER(38,0) DEFAULT 0 NOT NULL,
     name                VARCHAR2(255) NOT NULL UNIQUE,
diff -r 44a9233c62eb -r 69c8d33a05e8 backend/doc/schema/postgresql.sql
--- a/backend/doc/schema/postgresql.sql	Thu Feb 06 13:22:10 2014 +0100
+++ b/backend/doc/schema/postgresql.sql	Thu Feb 06 15:04:29 2014 +0100
@@ -12,7 +12,7 @@
 
 CREATE TABLE rivers (
     id              int PRIMARY KEY NOT NULL,
-    uuid            CHAR(37),
+    model_uuid      CHAR(37),
     official_number int8,
     name            VARCHAR(256)    NOT NULL UNIQUE,
     km_up           BOOLEAN         NOT NULL DEFAULT true,


More information about the Dive4elements-commits mailing list