Move migrations from small private partition to data partition #818
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Note: if we need any migrations for 0.3.1, we'll need a mechanism for downgrades to 0.3.0 to be able to find migrations that were downloaded to this new path. My suggestion is a 0.3.0->0.3.1 migration that creates a symlink from the old to the new on upgrade to 0.3.1; that would mean only customers who had run 0.3.0 see any effect. Ben suggested a tmpfiles entry to create the symlink, which would have the same effect, but apply to all machines.
Testing done:
We don't have any migrations right now, and this is a simple change, so I just did a build, checked that the path was actually changed, and confirmed that the migrator unit file pointed at it.