mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-14 22:11:47 +01:00
6d14fdc271
#14910 fixed the regression introduced by #13873 where sqlite database migrations would no longer run inside a transaction. However, it committed the transaction before Synapse updated its bookkeeping of which migrations have been run, which means that migrations may be run again after they have completed successfully. Leave the transaction open at the end of `executescript`, to restore the old, correct behaviour. Also make the PostgreSQL behaviour consistent with SQLite. Fixes #14909. Signed-off-by: Sean Quah <seanq@matrix.org> |
||
---|---|---|
.. | ||
.gitignore | ||
14823.feature | ||
14866.bugfix | ||
14879.misc | ||
14880.bugfix | ||
14886.misc | ||
14887.misc | ||
14904.misc | ||
14916.misc | ||
14920.misc | ||
14922.misc | ||
14926.bugfix | ||
14927.misc | ||
14935.misc | ||
14936.misc | ||
14937.misc | ||
14938.misc | ||
14942.bugfix | ||
14944.bugfix | ||
14945.misc |