diff options
Diffstat (limited to 'SQL/postgres.initial.sql')
-rwxr-xr-x | SQL/postgres.initial.sql | 2 |
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); |