Added upgrading instructions for the calendar module (#1179)

This commit is contained in:
Thomas Bruederli 2012-11-08 12:18:28 +01:00
parent a02f62985d
commit e292aec5dc
5 changed files with 39 additions and 3 deletions

View file

@ -0,0 +1,11 @@
UPGRADING instructions
======================
From version 0.7 and 0.8
------------------------
The schemas of the backend databases have changed. Depending on the driver
you're using, please execute all statements from divers/<driver>/sql/<db>.upgrade-0.7.sql
on your local database.

View file

@ -0,0 +1,5 @@
/**
* MySQL database updates since version 0.7/0.8
**/
ALTER TABLE `events` ADD `sequence` int(1) UNSIGNED NOT NULL DEFAULT '0' AFTER `changed`;

View file

@ -0,0 +1,5 @@
/**
* Postgres database updates since version 0.7/0.8
**/
ALTER TABLE events ADD sequence integer NOT NULL DEFAULT 0;

View file

@ -0,0 +1,15 @@
/**
* Kolab backend SQL updates
**/
DROP TABLE IF EXISTS `kolab_alarms`;
CREATE TABLE `kolab_alarms` (
`event_id` VARCHAR(255) NOT NULL,
`user_id` int(10) UNSIGNED NOT NULL,
`notifyat` DATETIME DEFAULT NULL,
`dismissed` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
PRIMARY KEY(`event_id`),
CONSTRAINT `fk_kolab_alarms_user_id` FOREIGN KEY (`user_id`)
REFERENCES `users`(`user_id`) ON DELETE CASCADE ON UPDATE CASCADE
) /*!40000 ENGINE=INNODB */;

View file

@ -19,10 +19,10 @@
<email>machniak@kolabsys.com</email>
<active>yes</active>
</developer>
<date>2012-12-16</date>
<date>2012-11-08</date>
<version>
<release>0.8-alpha</release>
<api>0.9-alpha</api>
<release>0.9-beta</release>
<api>0.9-beta</api>
</version>
<stability>
<release>stable</release>