diff options
author | thomascube <thomas@roundcube.net> | 2007-03-18 17:11:43 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2007-03-18 17:11:43 +0000 |
commit | 43a42dcf405c1667f0f39150ffaa8bbda7d9d1a0 (patch) | |
tree | 0b9a855683c47e3b27da1e2634ea496a5ee7df20 /SQL/mysql.initial.sql | |
parent | 87b280e94be4d4389ef660ab60d0484361599d35 (diff) |
Use user_id for unique key in messages table (closes #1484074)
Diffstat (limited to 'SQL/mysql.initial.sql')
-rw-r--r-- | SQL/mysql.initial.sql | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SQL/mysql.initial.sql b/SQL/mysql.initial.sql index f49fd7084..c97b9d79e 100644 --- a/SQL/mysql.initial.sql +++ b/SQL/mysql.initial.sql @@ -122,7 +122,7 @@ CREATE TABLE `messages` ( KEY `user_id` (`user_id`), KEY `idx` (`idx`), KEY `uid` (`uid`), - UNIQUE `uniqueness` (`cache_key`, `uid`) + UNIQUE `uniqueness` (`user_id`, `cache_key`, `uid`) ); |