diff options
author | Yorhel <git@yorhel.nl> | 2010-02-04 16:47:44 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2010-02-04 16:50:22 +0100 |
commit | 7255ee9b1febae2b845c5ade5af145fc234bc959 (patch) | |
tree | 01e954aee20cae97a0ca543efa3833a44838e69c /util/updates | |
parent | 57a85d056e754cccec8ba338378f3852acaa2896 (diff) |
Notifications: Added notify for deletion of entries in (wish)list
Diffstat (limited to 'util/updates')
-rw-r--r-- | util/updates/update_2.11.sql | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/util/updates/update_2.11.sql b/util/updates/update_2.11.sql index 4b5f076c..d488e228 100644 --- a/util/updates/update_2.11.sql +++ b/util/updates/update_2.11.sql @@ -1,6 +1,6 @@ -CREATE TYPE notification_ntype AS ENUM ('pm', 'dbdel'); +CREATE TYPE notification_ntype AS ENUM ('pm', 'dbdel', 'listdel'); CREATE TYPE notification_ltype AS ENUM ('v', 'r', 'p', 't'); CREATE TABLE notifications ( @@ -107,4 +107,6 @@ CREATE TRIGGER notify_pm AFTER INSERT ON threads_pos CREATE TRIGGER notify_dbdel AFTER UPDATE ON vn FOR EACH ROW EXECUTE PROCEDURE notify_dbdel(); CREATE TRIGGER notify_dbdel AFTER UPDATE ON producers FOR EACH ROW EXECUTE PROCEDURE notify_dbdel(); CREATE TRIGGER notify_dbdel AFTER UPDATE ON releases FOR EACH ROW EXECUTE PROCEDURE notify_dbdel(); +CREATE TRIGGER notify_listdel AFTER UPDATE ON vn FOR EACH ROW EXECUTE PROCEDURE notify_listdel(); +CREATE TRIGGER notify_listdel AFTER UPDATE ON releases FOR EACH ROW EXECUTE PROCEDURE notify_listdel(); |