Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
entrypoint.sh: Migrate data stores before any other migrations
The migration code checks that the migration hasn't already happened (e.g. by testing whether prosody.sqlite exists). However we do various other operations before this point (via prosodyctl) which may initialize the new data store of the desired type. If this happens, the migration code will assume that a migration already happened and skip the migration. This changes the order to ensure data store migrations always happen first, and adds a comment to inform future devs about this potential issue.
- Loading branch information