diff options
author | Philip Häusler <msquare@notrademark.de> | 2014-12-06 18:10:27 +0100 |
---|---|---|
committer | Philip Häusler <msquare@notrademark.de> | 2014-12-06 18:37:39 +0100 |
commit | 57a92dbdcd1ecd27bde621e9a51dbbd11ed82845 (patch) | |
tree | 8e4dafbe9375961325d0767bd6f0c6dc778e06ac /db/update.sql | |
parent | 191ba6e1b14b94a3a46c16ca488f388c82120bad (diff) |
add opt-in bool for shiftinfo mails and remove icq from users
Diffstat (limited to 'db/update.sql')
-rw-r--r-- | db/update.sql | 6 |
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 ; |