diff options
-rw-r--r-- | schema/changelog-3.8.xml | 7 | ||||
-rw-r--r-- | src/org/traccar/model/Server.java | 10 | ||||
-rw-r--r-- | src/org/traccar/model/User.java | 10 |
3 files changed, 27 insertions, 0 deletions
diff --git a/schema/changelog-3.8.xml b/schema/changelog-3.8.xml index e7aa1ad58..bc11d99ce 100644 --- a/schema/changelog-3.8.xml +++ b/schema/changelog-3.8.xml @@ -74,5 +74,12 @@ </column> </addColumn> + <addColumn tableName="users"> + <column name="coordinatesformat" type="VARCHAR(128)" /> + </addColumn> + <addColumn tableName="server"> + <column name="coordinatesformat" type="VARCHAR(128)" /> + </addColumn> + </changeSet> </databaseChangeLog> diff --git a/src/org/traccar/model/Server.java b/src/org/traccar/model/Server.java index 0cd23865f..9a1552110 100644 --- a/src/org/traccar/model/Server.java +++ b/src/org/traccar/model/Server.java @@ -137,4 +137,14 @@ public class Server extends Extensible { this.forceSettings = forceSettings; } + private String coordinatesFormat; + + public String getCoordinatesFormat() { + return coordinatesFormat; + } + + public void setCoordinatesFormat(String coordinatesFormat) { + this.coordinatesFormat = coordinatesFormat; + } + } diff --git a/src/org/traccar/model/User.java b/src/org/traccar/model/User.java index aa73cfcff..63aa3e641 100644 --- a/src/org/traccar/model/User.java +++ b/src/org/traccar/model/User.java @@ -130,6 +130,16 @@ public class User extends Extensible { this.twelveHourFormat = twelveHourFormat; } + private String coordinatesFormat; + + public String getCoordinatesFormat() { + return coordinatesFormat; + } + + public void setCoordinatesFormat(String coordinatesFormat) { + this.coordinatesFormat = coordinatesFormat; + } + private String password; public String getPassword() { |