Added upgrading instructions for the calendar module (#1179)
This commit is contained in:
parent
a02f62985d
commit
e292aec5dc
5 changed files with 39 additions and 3 deletions
11
plugins/calendar/UPGRADING
Normal file
11
plugins/calendar/UPGRADING
Normal 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.
|
||||||
|
|
||||||
|
|
|
@ -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`;
|
|
@ -0,0 +1,5 @@
|
||||||
|
/**
|
||||||
|
* Postgres database updates since version 0.7/0.8
|
||||||
|
**/
|
||||||
|
|
||||||
|
ALTER TABLE events ADD sequence integer NOT NULL DEFAULT 0;
|
15
plugins/calendar/drivers/kolab/SQL/mysql.upgrade-0.7.sql
Normal file
15
plugins/calendar/drivers/kolab/SQL/mysql.upgrade-0.7.sql
Normal 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 */;
|
|
@ -19,10 +19,10 @@
|
||||||
<email>machniak@kolabsys.com</email>
|
<email>machniak@kolabsys.com</email>
|
||||||
<active>yes</active>
|
<active>yes</active>
|
||||||
</developer>
|
</developer>
|
||||||
<date>2012-12-16</date>
|
<date>2012-11-08</date>
|
||||||
<version>
|
<version>
|
||||||
<release>0.8-alpha</release>
|
<release>0.9-beta</release>
|
||||||
<api>0.9-alpha</api>
|
<api>0.9-beta</api>
|
||||||
</version>
|
</version>
|
||||||
<stability>
|
<stability>
|
||||||
<release>stable</release>
|
<release>stable</release>
|
||||||
|
|
Loading…
Add table
Reference in a new issue