diff options
Diffstat (limited to 'SQL')
-rw-r--r-- | SQL/mysql.initial.sql | 2 | ||||
-rw-r--r-- | SQL/mysql.update.sql | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/SQL/mysql.initial.sql b/SQL/mysql.initial.sql index 7746f123d..73905cab8 100644 --- a/SQL/mysql.initial.sql +++ b/SQL/mysql.initial.sql @@ -68,7 +68,7 @@ CREATE TABLE `identities` ( -- CREATE TABLE `session` ( - `sess_id` varchar(32) NOT NULL default '', + `sess_id` varchar(40) NOT NULL default '', `created` datetime NOT NULL default '0000-00-00 00:00:00', `changed` datetime NOT NULL default '0000-00-00 00:00:00', `ip` VARCHAR(15) NOT NULL default '', diff --git a/SQL/mysql.update.sql b/SQL/mysql.update.sql index 8cd8c5c02..0119225ef 100644 --- a/SQL/mysql.update.sql +++ b/SQL/mysql.update.sql @@ -4,3 +4,11 @@ ALTER TABLE session ADD ip VARCHAR(15) NOT NULL AFTER changed; ALTER TABLE users ADD alias VARCHAR(128) NOT NULL AFTER mail_host; + + + +-- RoundCube Webmail update script for MySQL databases +-- Version 0.1-20051021 + +ALTER TABLE `session` CHANGE `sess_id` `sess_id` VARCHAR(40) NOT NULL; +ALTER TABLE `contacts` ADD `changed` DATETIME NOT NULL AFTER `user_id`; |