summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-03-04 15:10:05 +0000
committerErik Johnston <erik@matrix.org>2015-03-04 15:10:05 +0000
commitd56c01fff46d9adbccb8149d61f318f11040775e (patch)
tree89c2378fdf95038a2f59dc2bf0d9116166464838 /synapse
parents/schema_deltas/applied_schema_deltas/ (diff)
downloadsynapse-d56c01fff46d9adbccb8149d61f318f11040775e.tar.xz
Note that we don't specify execution order
Diffstat (limited to 'synapse')
-rw-r--r--synapse/storage/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/synapse/storage/__init__.py b/synapse/storage/__init__.py

index e2d5e5a41d..a3ff995695 100644 --- a/synapse/storage/__init__.py +++ b/synapse/storage/__init__.py
@@ -691,6 +691,10 @@ def _upgrade_existing_database(cur, current_version, applied_delta_files, even if there has been no version bump. This is useful for development where orthogonal schema changes may happen on separate branches. + Different delta files for the same version *must* be orthogonal and give + the same result when applied in any order. No guarantees are made on the + order of execution of these scripts. + This is a no-op of current_version == SCHEMA_VERSION. Example directory structure: