diff options
-rw-r--r-- | schema/changelog-3.8.xml | 6 | ||||
-rw-r--r-- | src/org/traccar/model/Server.java | 10 |
2 files changed, 16 insertions, 0 deletions
diff --git a/schema/changelog-3.8.xml b/schema/changelog-3.8.xml index 1008b9b77..e7aa1ad58 100644 --- a/schema/changelog-3.8.xml +++ b/schema/changelog-3.8.xml @@ -68,5 +68,11 @@ <modifyDataType tableName="server" columnName="mapurl" newDataType="VARCHAR(512)" /> + <addColumn tableName="server"> + <column name="forcesettings" type="BOOLEAN" defaultValueBoolean="false"> + <constraints nullable="false" /> + </column> + </addColumn> + </changeSet> </databaseChangeLog> diff --git a/src/org/traccar/model/Server.java b/src/org/traccar/model/Server.java index b1557bf8f..0cd23865f 100644 --- a/src/org/traccar/model/Server.java +++ b/src/org/traccar/model/Server.java @@ -127,4 +127,14 @@ public class Server extends Extensible { this.twelveHourFormat = twelveHourFormat; } + private boolean forceSettings; + + public boolean getForceSettings() { + return forceSettings; + } + + public void setForceSettings(boolean forceSettings) { + this.forceSettings = forceSettings; + } + } |