mirror of
https://github.com/traccar/traccar.git
synced 2025-01-07 03:07:01 +08:00
Add notification description (fix #5411)
This commit is contained in:
parent
07ce5d82f2
commit
565f6bece5
17
schema/changelog-6.6.xml
Normal file
17
schema/changelog-6.6.xml
Normal file
@ -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-6.6">
|
||||||
|
|
||||||
|
<changeSet author="author" id="changelog-6.6">
|
||||||
|
|
||||||
|
<addColumn tableName="tc_notifications">
|
||||||
|
<column name="description" type="VARCHAR(4000)" />
|
||||||
|
</addColumn>
|
||||||
|
|
||||||
|
</changeSet>
|
||||||
|
|
||||||
|
</databaseChangeLog>
|
@ -45,5 +45,6 @@
|
|||||||
|
|
||||||
<include file="changelog-6.2.xml" relativeToChangelogFile="true" />
|
<include file="changelog-6.2.xml" relativeToChangelogFile="true" />
|
||||||
<include file="changelog-6.3.xml" relativeToChangelogFile="true" />
|
<include file="changelog-6.3.xml" relativeToChangelogFile="true" />
|
||||||
|
<include file="changelog-6.6.xml" relativeToChangelogFile="true" />
|
||||||
|
|
||||||
</databaseChangeLog>
|
</databaseChangeLog>
|
||||||
|
@ -26,6 +26,16 @@ import org.traccar.storage.StorageName;
|
|||||||
@StorageName("tc_notifications")
|
@StorageName("tc_notifications")
|
||||||
public class Notification extends ExtendedModel implements Schedulable {
|
public class Notification extends ExtendedModel implements Schedulable {
|
||||||
|
|
||||||
|
private String description;
|
||||||
|
|
||||||
|
public String getDescription() {
|
||||||
|
return description;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDescription(String description) {
|
||||||
|
this.description = description;
|
||||||
|
}
|
||||||
|
|
||||||
private long calendarId;
|
private long calendarId;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user