Add notification description (fix #5411)

This commit is contained in:
Anton Tananaev 2024-09-18 14:30:16 -07:00
parent 07ce5d82f2
commit 565f6bece5
3 changed files with 28 additions and 0 deletions

17
schema/changelog-6.6.xml Normal file
View 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>

View File

@ -45,5 +45,6 @@
<include file="changelog-6.2.xml" relativeToChangelogFile="true" />
<include file="changelog-6.3.xml" relativeToChangelogFile="true" />
<include file="changelog-6.6.xml" relativeToChangelogFile="true" />
</databaseChangeLog>

View File

@ -26,6 +26,16 @@ import org.traccar.storage.StorageName;
@StorageName("tc_notifications")
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;
@Override