summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2014-12-06 18:10:27 +0100
committerPhilip Häusler <msquare@notrademark.de>2014-12-06 18:37:39 +0100
commit57a92dbdcd1ecd27bde621e9a51dbbd11ed82845 (patch)
tree8e4dafbe9375961325d0767bd6f0c6dc778e06ac /db
parent191ba6e1b14b94a3a46c16ca488f388c82120bad (diff)
add opt-in bool for shiftinfo mails and remove icq from users
Diffstat (limited to 'db')
-rw-r--r--db/update.sql6
1 files changed, 6 insertions, 0 deletions
diff --git a/db/update.sql b/db/update.sql
index 9862c027..7caf7223 100644
--- a/db/update.sql
+++ b/db/update.sql
@@ -1,3 +1,9 @@
+/* cleanup */
+ALTER TABLE `User` DROP `ICQ` ;
+
+/* opt-in field for user shiftinfo mails */
+ALTER TABLE `User` ADD `email_shiftinfo` BOOLEAN NOT NULL DEFAULT FALSE COMMENT 'User wants to be informed by mail about changes in his shifts' AFTER `email` ;
+
/* fix questions */
ALTER TABLE `Questions` CHANGE `AID` `AID` INT( 11 ) NULL DEFAULT NULL ;