From 57a92dbdcd1ecd27bde621e9a51dbbd11ed82845 Mon Sep 17 00:00:00 2001
From: Philip Häusler <msquare@notrademark.de>
Date: Sat, 6 Dec 2014 18:10:27 +0100
Subject: add opt-in bool for shiftinfo mails and remove icq from users

---
 db/update.sql | 6 ++++++
 1 file changed, 6 insertions(+)

(limited to 'db/update.sql')

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 ;
 
-- 
cgit v1.2.3-70-g09d2

