mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04: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
@ -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 New Issue
Block a user