# HG changeset patch # User Tom Gottfried # Date 1374595511 -7200 # Node ID b1fa193fa5dbef5c5475833ba53261a156db8286 # Parent 45e6635ef7f5eba913813fdaaff7960faf48a2ba Schema change: droped NOT NULL constraint from attributes.value because empty string is silently converted to NULL in Oracle but needed here. diff -r 45e6635ef7f5 -r b1fa193fa5db backend/doc/schema/oracle.sql --- a/backend/doc/schema/oracle.sql Tue Jul 23 11:59:07 2013 +0200 +++ b/backend/doc/schema/oracle.sql Tue Jul 23 18:05:11 2013 +0200 @@ -27,10 +27,11 @@ CREATE TABLE attributes ( id NUMBER(38,0) NOT NULL, - value VARCHAR2(255) NOT NULL UNIQUE, + value VARCHAR2(255) UNIQUE, primary key (id) ); - +-- value can not be NOT NULL in Oracle: +-- '' is needed here and silently converted to NULL in Oracle -- CROSS_SECTION_LINES CREATE SEQUENCE CROSS_SECTION_LINES_ID_SEQ;