summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-12-16 13:58:38 +0000
committerErik Johnston <erik@matrix.org>2014-12-16 13:58:38 +0000
commitbab1e790aeac3d0047cea18a473735ec85d7bb6b (patch)
tree3985ea4fd73a00992f0a8b6755858672d7435b09 /scripts
parentBump database version (diff)
downloadsynapse-bab1e790aeac3d0047cea18a473735ec85d7bb6b.tar.xz
Include database bump in upgrade script
Diffstat (limited to 'scripts')
-rw-r--r--scripts/upgrade_db_to_v0.5.5.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/upgrade_db_to_v0.5.5.py b/scripts/upgrade_db_to_v0.5.5.py
index aa0d7667ac..5f6fa3a5aa 100644
--- a/scripts/upgrade_db_to_v0.5.5.py
+++ b/scripts/upgrade_db_to_v0.5.5.py
@@ -38,6 +38,8 @@ CREATE TABLE IF NOT EXISTS event_json(
 
 CREATE INDEX IF NOT EXISTS event_json_id ON event_json(event_id);
 CREATE INDEX IF NOT EXISTS event_json_room_id ON event_json(room_id);
+
+PRAGMA user_version = 10;
 """