summaryrefslogtreecommitdiff
path: root/plugins/calendar/drivers
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2014-05-09 06:44:59 (GMT)
committerAleksander Machniak <machniak@kolabsys.com>2014-05-09 06:44:59 (GMT)
commit6123e40040943cf29eb124a67be9d1aba93a7da8 (patch)
tree92cb89b10b4a6c08057ac5327ac9de66655d4ce2 /plugins/calendar/drivers
parent0032bf083ceb66d4f71cfd400e3be765e370552c (diff)
downloadroundcubemail-plugins-kolab-6123e40040943cf29eb124a67be9d1aba93a7da8.tar.gz
Fix version numbers in initial.sql files, fix event_id -> alarm_id in postgres.initial.sql
Diffstat (limited to 'plugins/calendar/drivers')
-rw-r--r--plugins/calendar/drivers/kolab/SQL/mysql.initial.sql2
-rw-r--r--plugins/calendar/drivers/kolab/SQL/postgres.initial.sql4
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/calendar/drivers/kolab/SQL/mysql.initial.sql b/plugins/calendar/drivers/kolab/SQL/mysql.initial.sql
index 88df960..de33926 100644
--- a/plugins/calendar/drivers/kolab/SQL/mysql.initial.sql
+++ b/plugins/calendar/drivers/kolab/SQL/mysql.initial.sql
@@ -29,4 +29,4 @@ CREATE TABLE IF NOT EXISTS `itipinvitations` (
REFERENCES `users`(`user_id`) ON DELETE CASCADE ON UPDATE CASCADE
) /*!40000 ENGINE=INNODB */ /*!40101 CHARACTER SET utf8 COLLATE utf8_general_ci */;
-REPLACE INTO system (name, value) VALUES ('calendar-kolab-version', '2013011000');
+REPLACE INTO system (name, value) VALUES ('calendar-kolab-version', '2014041700');
diff --git a/plugins/calendar/drivers/kolab/SQL/postgres.initial.sql b/plugins/calendar/drivers/kolab/SQL/postgres.initial.sql
index e3ef9aa..07a492b 100644
--- a/plugins/calendar/drivers/kolab/SQL/postgres.initial.sql
+++ b/plugins/calendar/drivers/kolab/SQL/postgres.initial.sql
@@ -11,7 +11,7 @@ CREATE TABLE IF NOT EXISTS kolab_alarms (
REFERENCES users (user_id) ON DELETE CASCADE ON UPDATE CASCADE,
notifyat timestamp without time zone DEFAULT NULL,
dismissed smallint NOT NULL DEFAULT 0,
- PRIMARY KEY(event_id)
+ PRIMARY KEY(alarm_id)
);
CREATE TABLE IF NOT EXISTS itipinvitations (
@@ -27,4 +27,4 @@ CREATE TABLE IF NOT EXISTS itipinvitations (
CREATE INDEX itipinvitations_event_uid_user_id_idx ON itipinvitations (event_uid, user_id);
-INSERT INTO system (name, value) VALUES ('calendar-kolab-version', '2013011000');
+INSERT INTO system (name, value) VALUES ('calendar-kolab-version', '2014041700');