diff options
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`) ); |