summaryrefslogtreecommitdiff
path: root/SQL/postgres.initial.sql
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2007-03-18 17:11:43 +0000
committerthomascube <thomas@roundcube.net>2007-03-18 17:11:43 +0000
commit43a42dcf405c1667f0f39150ffaa8bbda7d9d1a0 (patch)
tree0b9a855683c47e3b27da1e2634ea496a5ee7df20 /SQL/postgres.initial.sql
parent87b280e94be4d4389ef660ab60d0484361599d35 (diff)
Use user_id for unique key in messages table (closes #1484074)
Diffstat (limited to 'SQL/postgres.initial.sql')
-rwxr-xr-xSQL/postgres.initial.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/SQL/postgres.initial.sql b/SQL/postgres.initial.sql
index ebd504d0d..bf82b9b5d 100755
--- a/SQL/postgres.initial.sql
+++ b/SQL/postgres.initial.sql
@@ -167,4 +167,4 @@ CREATE TABLE "messages" (
structure text
);
-ALTER TABLE "messages" ADD UNIQUE (cache_key, uid);
+ALTER TABLE "messages" ADD UNIQUE (user_id, cache_key, uid);