aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--schema/changelog-5.1.xml4
-rw-r--r--src/main/java/org/traccar/model/Server.java10
2 files changed, 14 insertions, 0 deletions
diff --git a/schema/changelog-5.1.xml b/schema/changelog-5.1.xml
index 26c2088b9..d5a8bc1fe 100644
--- a/schema/changelog-5.1.xml
+++ b/schema/changelog-5.1.xml
@@ -12,6 +12,10 @@
<column name="uniqueid" />
</createIndex>
+ <addColumn tableName="tc_servers">
+ <column name="overlayurl" type="VARCHAR(512)" />
+ </addColumn>
+
</changeSet>
</databaseChangeLog>
diff --git a/src/main/java/org/traccar/model/Server.java b/src/main/java/org/traccar/model/Server.java
index c5640fb97..ee7f7069a 100644
--- a/src/main/java/org/traccar/model/Server.java
+++ b/src/main/java/org/traccar/model/Server.java
@@ -85,6 +85,16 @@ public class Server extends ExtendedModel implements UserRestrictions {
this.mapUrl = mapUrl;
}
+ private String overlayUrl;
+
+ public String getOverlayUrl() {
+ return overlayUrl;
+ }
+
+ public void setOverlayUrl(String overlayUrl) {
+ this.overlayUrl = overlayUrl;
+ }
+
private double latitude;
public double getLatitude() {