diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-10-08 16:44:56 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-10-08 16:44:56 +1300 |
commit | 62e5c4a5f2989a869daace462d575c7bd04e5bc5 (patch) | |
tree | abadae0e31663395f2a9591a22aba690fc470a54 | |
parent | 47a5886d953ca511c425a0226ff0084696dc6a9e (diff) | |
download | trackermap-server-62e5c4a5f2989a869daace462d575c7bd04e5bc5.tar.gz trackermap-server-62e5c4a5f2989a869daace462d575c7bd04e5bc5.tar.bz2 trackermap-server-62e5c4a5f2989a869daace462d575c7bd04e5bc5.zip |
Rename column name
-rw-r--r-- | schema/changelog-3.8.xml | 4 | ||||
-rw-r--r-- | src/org/traccar/model/Server.java | 10 | ||||
-rw-r--r-- | src/org/traccar/model/User.java | 10 |
3 files changed, 12 insertions, 12 deletions
diff --git a/schema/changelog-3.8.xml b/schema/changelog-3.8.xml index bc11d99ce..be9df5410 100644 --- a/schema/changelog-3.8.xml +++ b/schema/changelog-3.8.xml @@ -75,10 +75,10 @@ </addColumn> <addColumn tableName="users"> - <column name="coordinatesformat" type="VARCHAR(128)" /> + <column name="coordinateformat" type="VARCHAR(128)" /> </addColumn> <addColumn tableName="server"> - <column name="coordinatesformat" type="VARCHAR(128)" /> + <column name="coordinateformat" type="VARCHAR(128)" /> </addColumn> </changeSet> diff --git a/src/org/traccar/model/Server.java b/src/org/traccar/model/Server.java index 9a1552110..b922c4340 100644 --- a/src/org/traccar/model/Server.java +++ b/src/org/traccar/model/Server.java @@ -137,14 +137,14 @@ public class Server extends Extensible { this.forceSettings = forceSettings; } - private String coordinatesFormat; + private String coordinateFormat; - public String getCoordinatesFormat() { - return coordinatesFormat; + public String getCoordinateFormat() { + return coordinateFormat; } - public void setCoordinatesFormat(String coordinatesFormat) { - this.coordinatesFormat = coordinatesFormat; + public void setCoordinateFormat(String coordinateFormat) { + this.coordinateFormat = coordinateFormat; } } diff --git a/src/org/traccar/model/User.java b/src/org/traccar/model/User.java index 63aa3e641..59951718e 100644 --- a/src/org/traccar/model/User.java +++ b/src/org/traccar/model/User.java @@ -130,14 +130,14 @@ public class User extends Extensible { this.twelveHourFormat = twelveHourFormat; } - private String coordinatesFormat; + private String coordinateFormat; - public String getCoordinatesFormat() { - return coordinatesFormat; + public String getCoordinateFormat() { + return coordinateFormat; } - public void setCoordinatesFormat(String coordinatesFormat) { - this.coordinatesFormat = coordinatesFormat; + public void setCoordinateFormat(String coordinateFormat) { + this.coordinateFormat = coordinateFormat; } private String password; |