summaryrefslogtreecommitdiff
path: root/roundcubemail/SQL/mysql.update.sql
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2007-03-18 17:11:43 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2007-03-18 17:11:43 +0000
commit63b816e27263b8fb45aee0273e8cfe822f7428c1 (patch)
tree973d09d5d43362c1ca92d5c82cf6b03679023331 /roundcubemail/SQL/mysql.update.sql
parent6ee2a94427b74908363e1b3db7256fba93ea3ea4 (diff)
Use user_id for unique key in messages table (closes #1484074)
git-svn-id: https://svn.roundcube.net/trunk@509 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/SQL/mysql.update.sql')
-rw-r--r--roundcubemail/SQL/mysql.update.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/SQL/mysql.update.sql b/roundcubemail/SQL/mysql.update.sql
index 308083279..ef5f07d83 100644
--- a/roundcubemail/SQL/mysql.update.sql
+++ b/roundcubemail/SQL/mysql.update.sql
@@ -5,7 +5,7 @@ ALTER TABLE `messages`
DROP `body`,
DROP INDEX `cache_key`,
ADD `structure` TEXT,
- ADD UNIQUE `uniqueness` (`cache_key`, `uid`);
+ ADD UNIQUE `uniqueness` (`user_id`, `cache_key`, `uid`);
ALTER TABLE `identities`
ADD `html_signature` tinyint(1) default 0 NOT NULL;