diff options
author | Mark Haines <mark.haines@matrix.org> | 2016-09-08 13:43:43 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2016-09-08 13:43:43 +0100 |
commit | fa9d36e050d942e76b2bd6a6d2c190215a1dac39 (patch) | |
tree | 806152a98d66013b94882c85cb1cb6129be62e78 /synapse/storage/prepare_database.py | |
parent | Add a new method to enqueue the device messages rather than sending a dummy EDU (diff) | |
parent | Log delta files we're applying (diff) | |
download | synapse-fa9d36e050d942e76b2bd6a6d2c190215a1dac39.tar.xz |
Merge branch 'develop' into markjh/direct_to_device_federation
Diffstat (limited to 'synapse/storage/prepare_database.py')
-rw-r--r-- | synapse/storage/prepare_database.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/synapse/storage/prepare_database.py b/synapse/storage/prepare_database.py index b94ce7bea1..7efbe51cda 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 = 34 +SCHEMA_VERSION = 35 dir_path = os.path.abspath(os.path.dirname(__file__)) @@ -242,7 +242,7 @@ def _upgrade_existing_database(cur, current_version, applied_delta_files, module = imp.load_source( module_name, absolute_path, python_file ) - logger.debug("Running script %s", relative_path) + logger.info("Running script %s", relative_path) module.run_create(cur, database_engine) if not is_empty: module.run_upgrade(cur, database_engine, config=config) @@ -253,7 +253,7 @@ def _upgrade_existing_database(cur, current_version, applied_delta_files, pass elif ext == ".sql": # A plain old .sql file, just read and execute it - logger.debug("Applying schema %s", relative_path) + logger.info("Applying schema %s", relative_path) executescript(cur, absolute_path) else: # Not a valid delta file. |