Add a comment to offer a hint to an explanation for why we have a unique constraint on (app_id, pushkey, user_id)

pull/647/head
Mark Haines 2016-03-16 10:35:00 +00:00
parent ee32d622ce
commit ba660ecde2
1 changed files with 1 additions and 0 deletions

View File

@ -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)
);