aboutsummaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-12-04 17:33:17 +0700
committerAbyss777 <abyss@fox5.ru>2016-12-04 17:33:17 +0700
commit6bfda86daaef7ce7b591f2fe1b33ab3b1d5ca2cd (patch)
tree1c11f3a9233a2a35ef921f6ab408984202da74b9 /setup
parentc9232000e595b0addd4bf7bbaf7a90e088c94624 (diff)
downloadtrackermap-server-6bfda86daaef7ce7b591f2fe1b33ab3b1d5ca2cd.tar.gz
trackermap-server-6bfda86daaef7ce7b591f2fe1b33ab3b1d5ca2cd.tar.bz2
trackermap-server-6bfda86daaef7ce7b591f2fe1b33ab3b1d5ca2cd.zip
Use model instead of attributes to store Notification options
Diffstat (limited to 'setup')
-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>