summaryrefslogtreecommitdiff
path: root/roundcubemail/SQL/mysql.update.sql
diff options
context:
space:
mode:
authorroundcube <roundcube@208e9e7b-5314-0410-a742-e7e81cd9613c>2005-11-06 16:37:45 +0000
committerroundcube <roundcube@208e9e7b-5314-0410-a742-e7e81cd9613c>2005-11-06 16:37:45 +0000
commita9f64635ff48ca1acc281d6d199a6fe244360e38 (patch)
tree8af43a8c8d795a444244b2b5713419da3f15c945 /roundcubemail/SQL/mysql.update.sql
parent54d37b816e754157fc7141ddb517e33f821feeed (diff)
Added 'changed' col to contacts table and support for 160-bit session hashes
git-svn-id: https://svn.roundcube.net/trunk@75 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/SQL/mysql.update.sql')
-rw-r--r--roundcubemail/SQL/mysql.update.sql8
1 files changed, 8 insertions, 0 deletions
diff --git a/roundcubemail/SQL/mysql.update.sql b/roundcubemail/SQL/mysql.update.sql
index 8cd8c5c02..0119225ef 100644
--- a/roundcubemail/SQL/mysql.update.sql
+++ b/roundcubemail/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`;