summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to 'db')
-rw-r--r--db/update.sql8
1 files changed, 7 insertions, 1 deletions
diff --git a/db/update.sql b/db/update.sql
index 994e285d..7da5f3e6 100644
--- a/db/update.sql
+++ b/db/update.sql
@@ -12,4 +12,10 @@ NULL , 'ical', 'iCal shift export'
);
/* DECT Nummern können für GSM auch 5-stellig sein. */
-ALTER TABLE `User` CHANGE `DECT` `DECT` VARCHAR( 5 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL; \ No newline at end of file
+ALTER TABLE `User` CHANGE `DECT` `DECT` VARCHAR( 5 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL;
+
+/* Neues Engeltypen-System */
+ALTER TABLE `AngelTypes` DROP `Man`;
+ALTER TABLE `AngelTypes` CHANGE `TID` `id` INT( 11 ) NOT NULL AUTO_INCREMENT;
+ALTER TABLE `AngelTypes` CHANGE `Name` `name` VARCHAR( 25 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '';
+ALTER TABLE `AngelTypes` ADD `restricted` INT( 1 ) NOT NULL;