aboutsummaryrefslogtreecommitdiff
path: root/setup/default.xml
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-12-05 23:33:18 +1300
committerGitHub <noreply@github.com>2016-12-05 23:33:18 +1300
commit40607036c5aa6385a7ae3f3a283bf107238a5944 (patch)
tree72ff1743d96f79e4a9d85b0d48715e5f9aa67cf9 /setup/default.xml
parenta9260f9e470add52f1fe3df35ea93e0d547c3fe7 (diff)
parenteffcde41e6f77df3829a9809f48fcc3aed9caade (diff)
downloadtrackermap-server-40607036c5aa6385a7ae3f3a283bf107238a5944.tar.gz
trackermap-server-40607036c5aa6385a7ae3f3a283bf107238a5944.tar.bz2
trackermap-server-40607036c5aa6385a7ae3f3a283bf107238a5944.zip
Merge pull request #2638 from Abyss777/improve_notifications
Use model instead of attributes to store Notification options
Diffstat (limited to 'setup/default.xml')
-rw-r--r--setup/default.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/setup/default.xml b/setup/default.xml
index 5c6f8fe90..ad23d7bd3 100644
--- a/setup/default.xml
+++ b/setup/default.xml
@@ -264,14 +264,16 @@
</entry>
<entry key='database.insertNotification'>
- INSERT INTO notifications (userId, type, attributes)
- VALUES (:userId, :type, :attributes)
+ INSERT INTO notifications (userId, type, web, mail, attributes)
+ VALUES (:userId, :type, :web, :mail, :attributes)
</entry>
<entry key='database.updateNotification'>
UPDATE notifications SET
userId = :userId,
type = :type,
+ web = :web,
+ mail = :mail,
attributes = :attributes
WHERE id = :id
</entry>