summaryrefslogtreecommitdiff
path: root/SQL/mysql.update.sql
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2005-11-06 16:37:45 +0000
committerthomascube <thomas@roundcube.net>2005-11-06 16:37:45 +0000
commite0ddd4e6c03d533cc3f8427624e026cc20c88fa6 (patch)
tree9bdaed87ebc57351eb9485c196ba8bec91cb3890 /SQL/mysql.update.sql
parent317219dafe98b70797ef853571c255de0654d4aa (diff)
Added 'changed' col to contacts table and support for 160-bit session hashes
Diffstat (limited to 'SQL/mysql.update.sql')
-rw-r--r--SQL/mysql.update.sql8
1 files changed, 8 insertions, 0 deletions
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`;