diff options
author | Mark Haines <mjark@negativecurvature.net> | 2015-08-25 09:40:35 +0100 |
---|---|---|
committer | Mark Haines <mjark@negativecurvature.net> | 2015-08-25 09:40:35 +0100 |
commit | aa361f51dc9a5e0d3efcf885e1f4c9d9f03fc54d (patch) | |
tree | 78c423924106afa12f40336a0914a0715d2e5bc8 | |
parent | Merge branch 'release-v0.10.0' of github.com:matrix-org/synapse into develop (diff) | |
parent | Remove autoincrement since we incrementing the ID in the storage layer (diff) | |
download | synapse-aa361f51dc9a5e0d3efcf885e1f4c9d9f03fc54d.tar.xz |
Merge pull request #244 from matrix-org/markjh/refresh_tokens
Remove autoincrement since we incrementing the ID in the storage layer
-rw-r--r-- | synapse/storage/schema/delta/23/refresh_tokens.sql | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/schema/delta/23/refresh_tokens.sql b/synapse/storage/schema/delta/23/refresh_tokens.sql index 46839e016c..437b1ac1be 100644 --- a/synapse/storage/schema/delta/23/refresh_tokens.sql +++ b/synapse/storage/schema/delta/23/refresh_tokens.sql @@ -14,7 +14,7 @@ */ CREATE TABLE IF NOT EXISTS refresh_tokens( - id INTEGER PRIMARY KEY AUTOINCREMENT, + id INTEGER PRIMARY KEY, token TEXT NOT NULL, user_id TEXT NOT NULL, UNIQUE (token) |