Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Synapse
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
Matrix.org
Synapse
Commits
d56c01ff
Commit
d56c01ff
authored
Mar 4, 2015
by
Erik Johnston
Browse files
Options
Downloads
Patches
Plain Diff
Note that we don't specify execution order
parent
17d319a2
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
synapse/storage/__init__.py
+4
-0
4 additions, 0 deletions
synapse/storage/__init__.py
with
4 additions
and
0 deletions
synapse/storage/__init__.py
+
4
−
0
View file @
d56c01ff
...
@@ -691,6 +691,10 @@ def _upgrade_existing_database(cur, current_version, applied_delta_files,
...
@@ -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
even if there has been no version bump. This is useful for development
where orthogonal schema changes may happen on separate branches.
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.
This is a no-op of current_version == SCHEMA_VERSION.
Example directory structure:
Example directory structure:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment