# HG changeset patch # User Andre Heinecke # Date 1362046478 -3600 # Node ID 3d8000616ed5b1a9e8d26592e67748b6f26063b7 # Parent 5ba502e78e0563b9cce7266fc726ce47fcc76d44 Fix oracle-spatial creation script and posgresql drop script diff -r 5ba502e78e05 -r 3d8000616ed5 flys-backend/doc/schema/oracle-spatial.sql --- a/flys-backend/doc/schema/oracle-spatial.sql Thu Feb 28 10:09:31 2013 +0100 +++ b/flys-backend/doc/schema/oracle-spatial.sql Thu Feb 28 11:14:38 2013 +0100 @@ -237,7 +237,6 @@ CREATE TABLE hws_points ( OGR_FID NUMBER(38), GEOM MDSYS.SDO_GEOMETRY, - ogr_fid NUMBER, kind_id NUMBER DEFAULT 2 REFERENCES hws_kinds(id), fed_state_id NUMBER REFERENCES fed_states(id), river_id NUMBER(38) REFERENCES rivers(id) ON DELETE CASCADE, diff -r 5ba502e78e05 -r 3d8000616ed5 flys-backend/doc/schema/postgresql-drop-spatial.sql --- a/flys-backend/doc/schema/postgresql-drop-spatial.sql Thu Feb 28 10:09:31 2013 +0100 +++ b/flys-backend/doc/schema/postgresql-drop-spatial.sql Thu Feb 28 11:14:38 2013 +0100 @@ -9,9 +9,6 @@ DROP TABLE cross_section_tracks; DROP SEQUENCE CROSS_SECTION_TRACKS_ID_SEQ; -DROP TABLE lines; -DROP SEQUENCE LINES_ID_SEQ; - DROP TABLE buildings; DROP SEQUENCE BUILDINGS_ID_SEQ; @@ -24,9 +21,6 @@ DROP TABLE dem; DROP SEQUENCE DEM_ID_SEQ; -DROP TABLE catchment; -DROP SEQUENCE CATCHMENT_ID_SEQ; - DROP TABLE hws_points; DROP SEQUENCE HWS_POINTS_ID_SEQ;