From 86a72bd934c408ad558368a6b4c0fcb9cc8e7892 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20H=C3=A4usler?= Date: Tue, 11 Oct 2011 23:43:44 +0200 Subject: [PATCH] update sql fix --- db/update.sql | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/db/update.sql b/db/update.sql index c2ebf441..dc254a02 100644 --- a/db/update.sql +++ b/db/update.sql @@ -1,8 +1,6 @@ /* Update für #27, iCal-Export */ -ALTER TABLE `User` ADD `ical_key` VARCHAR( 32 ) NOT NULL , -ADD UNIQUE ( -`ical_key` -); +ALTER TABLE `User` ADD `ical_key` VARCHAR( 32 ) NOT NULL; +ALTER TABLE `User` ADD INDEX ( `ical_key` ) INSERT INTO `engelsystem`.`Privileges` ( `id` ,