Merge pull request #244 from matrix-org/markjh/refresh_tokens

Remove autoincrement since we incrementing the ID in the storage layer
This commit is contained in:
Mark Haines 2015-08-25 09:40:35 +01:00
commit aa361f51dc

View File

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