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` ,