diff options
author | David Baker <dave@matrix.org> | 2018-10-29 21:01:22 +0000 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2018-10-29 21:01:22 +0000 |
commit | 563f9b61b1439e7a6a8a250fd068659092583dbf (patch) | |
tree | 5235f547ae3e9e746c7a969184028b354fbbf166 /synapse/storage/prepare_database.py | |
parent | Merge pull request #4109 from matrix-org/erikj/repl_devices (diff) | |
download | synapse-563f9b61b1439e7a6a8a250fd068659092583dbf.tar.xz |
Make e2e backup versions numeric in the DB
We were doing max(version) which does not do what we wanted on a column of type TEXT.
Diffstat (limited to 'synapse/storage/prepare_database.py')
-rw-r--r-- | synapse/storage/prepare_database.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/prepare_database.py b/synapse/storage/prepare_database.py index b364719312..bd740e1e45 100644 --- a/synapse/storage/prepare_database.py +++ b/synapse/storage/prepare_database.py @@ -25,7 +25,7 @@ logger = logging.getLogger(__name__) # Remember to update this number every time a change is made to database # schema files, so the users will be informed on server restarts. -SCHEMA_VERSION = 51 +SCHEMA_VERSION = 52 dir_path = os.path.abspath(os.path.dirname(__file__)) |