mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-02-21 18:19:49 -05:00

#13873 introduced a regression which causes sqlite database migrations to no longer run inside a transaction. Wrap them in a transaction again, to avoid database corruption when migrations are interrupted. Fixes #14909. Signed-off-by: Sean Quah <seanq@matrix.org>