summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2016-11-11 15:24:51 +0100
committermsquare <msquare@notrademark.de>2016-11-11 15:24:51 +0100
commitf5a5f234e41a23f56c1515eebc0824ce8cd115d1 (patch)
treeecb7f74ca64f4d50deebec9daf1cd7c71fbb4422 /db
parent82b9436c508fd9739555240991abda1b2fd63bd4 (diff)
fixes #266: add checkbox allowing the users email to be used by humans like event-team
Diffstat (limited to 'db')
-rw-r--r--db/update.sql4
1 files changed, 3 insertions, 1 deletions
diff --git a/db/update.sql b/db/update.sql
index 4de4a4e4..93f29e89 100644
--- a/db/update.sql
+++ b/db/update.sql
@@ -1,4 +1,6 @@
INSERT INTO `Privileges` (`id`, `name`, `desc`) VALUES (40, 'view_rooms', 'User can view rooms');
INSERT INTO `GroupPrivileges` (`id`, `group_id`, `privilege_id`) VALUES (NULL, '-2', '40');
-ALTER TABLE `UserAngelTypes` CHANGE `coordinator` `supporter` BOOLEAN; \ No newline at end of file
+ALTER TABLE `UserAngelTypes` CHANGE `coordinator` `supporter` BOOLEAN;
+
+ALTER TABLE `User` ADD COLUMN `email_by_human_allowed` BOOLEAN NOT NULL; \ No newline at end of file