diff flys-backend/doc/schema/postgresql.sql @ 5777:e95427ed80e5

Merged
author Sascha L. Teichmann <teichmann@intevation.de>
date Sun, 21 Apr 2013 10:46:59 +0200
parents 88cbe798cbab
children 153456f84602
line wrap: on
line diff
--- a/flys-backend/doc/schema/postgresql.sql	Sun Apr 21 10:46:06 2013 +0200
+++ b/flys-backend/doc/schema/postgresql.sql	Sun Apr 21 10:46:59 2013 +0200
@@ -111,8 +111,7 @@
 CREATE TABLE named_main_values (
     id      int PRIMARY KEY NOT NULL,
     name    VARCHAR(256)    NOT NULL UNIQUE,
-    type_id int NOT NULL REFERENCES main_value_types(id),
-    UNIQUE (name, type_id)
+    type_id int NOT NULL REFERENCES main_value_types(id)
 );
 
 -- Table for time intervals

http://dive4elements.wald.intevation.org