Fix version numbers in initial.sql files, fix event_id -> alarm_id in postgres.initial.sql
This commit is contained in:
parent
0032bf083c
commit
6123e40040
2 changed files with 3 additions and 3 deletions
|
@ -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');
|
||||
|
|
|
@ -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');
|
||||
|
|
Loading…
Add table
Reference in a new issue