summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2014-12-16 08:43:41 +0100
committerPhilip Häusler <msquare@notrademark.de>2014-12-17 14:59:40 +0100
commit25889920cf216e46873da968afe4b2dae5fead64 (patch)
tree1c167ecd40a860cc1db93b1daa296af582ed7f58 /db
parent8a51e5d822ce4276e266fefa62c8973344609471 (diff)
prepare for shift types model, add db update
Diffstat (limited to 'db')
-rw-r--r--db/update.sql9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/update.sql b/db/update.sql
index 7caf7223..d7d91a80 100644
--- a/db/update.sql
+++ b/db/update.sql
@@ -1,3 +1,12 @@
+/* introduce shift types */
+CREATE TABLE IF NOT EXISTS `ShiftTypes` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `name` varchar(255) NOT NULL,
+ `angeltype_id` int(11) DEFAULT NULL,
+ `description` text NOT NULL,
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
+
/* cleanup */
ALTER TABLE `User` DROP `ICQ` ;