diff options
-rw-r--r-- | schema/changelog-4.11.xml | 17 | ||||
-rw-r--r-- | schema/changelog-master.xml | 1 | ||||
-rw-r--r-- | src/main/java/org/traccar/model/Server.java | 10 |
3 files changed, 28 insertions, 0 deletions
diff --git a/schema/changelog-4.11.xml b/schema/changelog-4.11.xml new file mode 100644 index 000000000..a4ae00a2d --- /dev/null +++ b/schema/changelog-4.11.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<databaseChangeLog + xmlns="http://www.liquibase.org/xml/ns/dbchangelog" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog + http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.4.xsd" + logicalFilePath="changelog-4.11"> + + <changeSet author="author" id="changelog-4.11"> + + <addColumn tableName="tc_server"> + <column name="announcement" type="VARCHAR(4000)" /> + </addColumn> + + </changeSet> + +</databaseChangeLog> diff --git a/schema/changelog-master.xml b/schema/changelog-master.xml index 5e89e746b..7d4475df7 100644 --- a/schema/changelog-master.xml +++ b/schema/changelog-master.xml @@ -26,5 +26,6 @@ <include file="changelog-4.7.xml" relativeToChangelogFile="true" /> <include file="changelog-4.9.xml" relativeToChangelogFile="true" /> <include file="changelog-4.10.xml" relativeToChangelogFile="true" /> + <include file="changelog-4.11.xml" relativeToChangelogFile="true" /> </databaseChangeLog> diff --git a/src/main/java/org/traccar/model/Server.java b/src/main/java/org/traccar/model/Server.java index ad37e7078..112bfab26 100644 --- a/src/main/java/org/traccar/model/Server.java +++ b/src/main/java/org/traccar/model/Server.java @@ -166,4 +166,14 @@ public class Server extends ExtendedModel { public void setPoiLayer(String poiLayer) { this.poiLayer = poiLayer; } + + private String announcement; + + public String getAnnouncement() { + return announcement; + } + + public void setAnnouncement(String announcement) { + this.announcement = announcement; + } } |