mirror of
https://github.com/element-hq/synapse
synced 2024-08-20 17:50:21 +00:00
Add a comment to offer a hint to an explanation for why we have a unique constraint on (app_id, pushkey, user_id)
This commit is contained in:
parent
ee32d622ce
commit
ba660ecde2
1 changed files with 1 additions and 0 deletions
|
@ -18,6 +18,7 @@ CREATE TABLE IF NOT EXISTS deleted_pushers(
|
|||
app_id TEXT NOT NULL,
|
||||
pushkey TEXT NOT NULL,
|
||||
user_id TEXT NOT NULL,
|
||||
/* We only track the most recent delete for each app_id, pushkey and user_id. */
|
||||
UNIQUE (app_id, pushkey, user_id)
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue