Add notification types

This commit is contained in:
Johannes Zellner
2023-09-22 17:58:13 +02:00
parent fc6c8c5b7f
commit b72a5e9c69
5 changed files with 43 additions and 23 deletions
+1
View File
@@ -254,6 +254,7 @@ CREATE TABLE IF NOT EXISTS tasks(
CREATE TABLE IF NOT EXISTS notifications(
id int NOT NULL AUTO_INCREMENT,
eventId VARCHAR(128), // reference to eventlog. can be null
type VARCHAR(128) NOT NULL DEFAULT ""
title VARCHAR(512) NOT NULL,
message TEXT,
acknowledged BOOLEAN DEFAULT false,