summary refs log tree commit diff
diff options
context:
space:
mode:
authorHubert Chathi <hubert@uhoreg.ca>2019-11-06 21:40:15 -0500
committerHubert Chathi <hubert@uhoreg.ca>2019-11-06 21:40:15 -0500
commita02574682b12e8f2a99394babf497c5b2fb0c742 (patch)
treea6e5cacdaf01b4d509b4e188d7ca03ddf764454c
parentfix unit test to use new API (diff)
downloadsynapse-a02574682b12e8f2a99394babf497c5b2fb0c742.tar.xz
PostgreSQL doesn't like INTEGER UNSIGNED
-rw-r--r--synapse/storage/data_stores/main/schema/delta/56/room_key_etag.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/data_stores/main/schema/delta/56/room_key_etag.sql b/synapse/storage/data_stores/main/schema/delta/56/room_key_etag.sql
index ddb0c8a8d3..67dde4acff 100644
--- a/synapse/storage/data_stores/main/schema/delta/56/room_key_etag.sql
+++ b/synapse/storage/data_stores/main/schema/delta/56/room_key_etag.sql
@@ -14,4 +14,4 @@
  */
 
 -- store the current etag of backup version
-ALTER TABLE e2e_room_keys_versions ADD COLUMN etag INTEGER UNSIGNED;
+ALTER TABLE e2e_room_keys_versions ADD COLUMN etag BIGINT UNSIGNED;