summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2015-12-02 17:19:11 +0000
committerDavid Baker <dave@matrix.org>2015-12-02 17:19:11 +0000
commit8810eb8c399f84787ed45b22d7f1386cecf3ca87 (patch)
treeaa4585ae7525ce7954ba30e1b9c166c5882e8c7a
parentMerge pull request #416 from matrix-org/markjh/idempotent_state (diff)
downloadsynapse-8810eb8c399f84787ed45b22d7f1386cecf3ca87.tar.xz
Fix schema delta 15 on postgres in the very unlikley event that anyone upgrades to 15...
-rw-r--r--synapse/storage/schema/delta/15/v15.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/schema/delta/15/v15.sql b/synapse/storage/schema/delta/15/v15.sql
index f5b2a08ca4..4d21ac61df 100644
--- a/synapse/storage/schema/delta/15/v15.sql
+++ b/synapse/storage/schema/delta/15/v15.sql
@@ -1,7 +1,7 @@
 -- Drop, copy & recreate pushers table to change unique key
 -- Also add access_token column at the same time
 CREATE TABLE IF NOT EXISTS pushers2 (
-  id INTEGER PRIMARY KEY AUTOINCREMENT,
+  id BIGINT PRIMARY KEY,
   user_name TEXT NOT NULL,
   access_token INTEGER DEFAULT NULL,
   profile_tag varchar(32) NOT NULL,