comparison backend/doc/schema/oracle.sql @ 7743:a67bd7744827

Schema correction following yesterday's brain failure.
author Tom Gottfried <tom@intevation.de>
date Fri, 07 Feb 2014 10:54:03 +0100
parents 69c8d33a05e8
children b8c6cb36607e
comparison
equal deleted inserted replaced
7742:869f54874c3c 7743:a67bd7744827
260 -- RIVERS 260 -- RIVERS
261 CREATE SEQUENCE RIVERS_ID_SEQ; 261 CREATE SEQUENCE RIVERS_ID_SEQ;
262 262
263 CREATE TABLE rivers ( 263 CREATE TABLE rivers (
264 id NUMBER(38,0) NOT NULL, 264 id NUMBER(38,0) NOT NULL,
265 model_uuid CHAR(37 CHAR), 265 model_uuid CHAR(36 CHAR) UNIQUE,
266 official_number NUMBER(38,0), 266 official_number NUMBER(38,0),
267 km_up NUMBER(38,0) DEFAULT 0 NOT NULL, 267 km_up NUMBER(38,0) DEFAULT 0 NOT NULL,
268 name VARCHAR2(255) NOT NULL UNIQUE, 268 name VARCHAR2(255) NOT NULL UNIQUE,
269 wst_unit_id NUMBER(38,0) NOT NULL, 269 wst_unit_id NUMBER(38,0) NOT NULL,
270 PRIMARY KEY (id) 270 PRIMARY KEY (id)

http://dive4elements.wald.intevation.org