summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorMark Haines <mjark@negativecurvature.net>2015-08-25 09:40:35 +0100
committerMark Haines <mjark@negativecurvature.net>2015-08-25 09:40:35 +0100
commitaa361f51dc9a5e0d3efcf885e1f4c9d9f03fc54d (patch)
tree78c423924106afa12f40336a0914a0715d2e5bc8 /synapse/storage
parentMerge branch 'release-v0.10.0' of github.com:matrix-org/synapse into develop (diff)
parentRemove autoincrement since we incrementing the ID in the storage layer (diff)
downloadsynapse-aa361f51dc9a5e0d3efcf885e1f4c9d9f03fc54d.tar.xz
Merge pull request #244 from matrix-org/markjh/refresh_tokens
Remove autoincrement since we incrementing the ID in the storage layer
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/schema/delta/23/refresh_tokens.sql2
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)