From 25889920cf216e46873da968afe4b2dae5fead64 Mon Sep 17 00:00:00 2001
From: Philip Häusler <msquare@notrademark.de>
Date: Tue, 16 Dec 2014 08:43:41 +0100
Subject: prepare for shift types model, add db update

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

(limited to 'db/update.sql')

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

