Mercurial > dive4elements > river
changeset 5391:e65fee5ea98a
Rename station to km to be in line with the rest
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Mon, 25 Mar 2013 10:12:42 +0100 |
parents | d449b502602b |
children | 95050a944d81 |
files | flys-backend/doc/schema/oracle-spatial.sql flys-backend/doc/schema/postgresql-spatial.sql |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-backend/doc/schema/oracle-spatial.sql Mon Mar 25 10:16:34 2013 +0100 +++ b/flys-backend/doc/schema/oracle-spatial.sql Mon Mar 25 10:12:42 2013 +0100 @@ -93,7 +93,7 @@ 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, - station NUMBER(38,11) NOT NULL, + km NUMBER(38,11) NOT NULL, name VARCHAR2(255), -- The layername description VARCHAR(256), -- Name taken from attributes path VARCHAR(256),
--- a/flys-backend/doc/schema/postgresql-spatial.sql Mon Mar 25 10:16:34 2013 +0100 +++ b/flys-backend/doc/schema/postgresql-spatial.sql Mon Mar 25 10:12:42 2013 +0100 @@ -70,9 +70,9 @@ CREATE TABLE buildings ( id int PRIMARY KEY NOT NULL, river_id int REFERENCES rivers(id) ON DELETE CASCADE, - description VARCHAR(256) -- Name taken from attributes, + description VARCHAR(256), -- Name taken from attributes, name VARCHAR(256), -- The layername - station FLOAT8, + km FLOAT8, kind_id int REFERENCES building_kinds(id) NOT NULL DEFAULT 0, path VARCHAR(256) );