Skip to content
Snippets Groups Projects
Commit d56c01ff authored by Erik Johnston's avatar Erik Johnston
Browse files

Note that we don't specify execution order

parent 17d319a2
Branches
Tags
No related merge requests found
...@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment