Mercurial > dive4elements > river
diff flys-backend/doc/schema/oracle-spatial.sql @ 5408:91f5908c472a
Add building_kinds to drop script and fix syntax of buildings table
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Mon, 25 Mar 2013 17:01:07 +0100 |
parents | e65fee5ea98a |
children | 8b29a94ebdd8 |
line wrap: on
line diff
--- a/flys-backend/doc/schema/oracle-spatial.sql Mon Mar 25 17:00:37 2013 +0100 +++ b/flys-backend/doc/schema/oracle-spatial.sql Mon Mar 25 17:01:07 2013 +0100 @@ -92,8 +92,8 @@ OGR_FID NUMBER(38), GEOM MDSYS.SDO_GEOMETRY, river_id NUMBER(38) REFERENCES rivers(id) ON DELETE CASCADE, - kind_id NUMBER(38) REFERENCES building_kinds(id) NOT NULL DEFAULT 0, - km NUMBER(38,11) NOT NULL, + kind_id NUMBER(38) DEFAULT 0 NOT NULL REFERENCES building_kinds(id), + km NUMBER(38,11), name VARCHAR2(255), -- The layername description VARCHAR(256), -- Name taken from attributes path VARCHAR(256),