Mercurial > dive4elements > river
changeset 8415:ffbeffe2d266
SCHEMA CHANGE: 'comment' is not acceptable as column name for Oracle.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Wed, 15 Oct 2014 19:48:20 +0200 |
parents | 8e1c9ce1c7c6 |
children | 6399ebc6fce9 |
files | backend/doc/schema/oracle-minfo.sql backend/doc/schema/postgresql-minfo.sql backend/src/main/java/org/dive4elements/river/model/MeasurementStation.java |
diffstat | 3 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/backend/doc/schema/oracle-minfo.sql Wed Oct 15 19:42:19 2014 +0200 +++ b/backend/doc/schema/oracle-minfo.sql Wed Oct 15 19:48:20 2014 +0200 @@ -319,7 +319,7 @@ -- store name of reference gauges here too, as not all are in gauges reference_gauge_name VARCHAR2(64 CHAR), operator VARCHAR2(64 CHAR), - comment VARCHAR2(512 CHAR), + commentary VARCHAR2(512 CHAR), PRIMARY KEY (id), CONSTRAINT fk_ms_range_id FOREIGN KEY (range_id) REFERENCES ranges(id) ON DELETE CASCADE,
--- a/backend/doc/schema/postgresql-minfo.sql Wed Oct 15 19:42:19 2014 +0200 +++ b/backend/doc/schema/postgresql-minfo.sql Wed Oct 15 19:48:20 2014 +0200 @@ -319,7 +319,7 @@ -- store name of reference gauges here too, as not all are in gauges reference_gauge_name VARCHAR(64), operator VARCHAR(64), - comment VARCHAR(512), + commentary VARCHAR(512), PRIMARY KEY (id), CONSTRAINT fk_ms_range_id FOREIGN KEY (range_id) REFERENCES ranges(id) ON DELETE CASCADE,
--- a/backend/src/main/java/org/dive4elements/river/model/MeasurementStation.java Wed Oct 15 19:42:19 2014 +0200 +++ b/backend/src/main/java/org/dive4elements/river/model/MeasurementStation.java Wed Oct 15 19:48:20 2014 +0200 @@ -154,7 +154,7 @@ this.operator = operator; } - @Column(name = "comment") + @Column(name = "commentary") public String getComment() { return comment; }