diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-12-05 23:33:18 +1300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-05 23:33:18 +1300 |
commit | 40607036c5aa6385a7ae3f3a283bf107238a5944 (patch) | |
tree | 72ff1743d96f79e4a9d85b0d48715e5f9aa67cf9 /setup/default.xml | |
parent | a9260f9e470add52f1fe3df35ea93e0d547c3fe7 (diff) | |
parent | effcde41e6f77df3829a9809f48fcc3aed9caade (diff) | |
download | trackermap-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.xml | 6 |
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> |