synapse-product/synapse/storage/engines
Sean Quah a63d4cc9e9
Make sqlite database migrations transactional again (#14910)
#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>
2023-01-25 13:38:53 +00:00
..
__init__.py Use dummy fallback engines if imports fail (#12979) 2022-06-07 17:33:55 +01:00
_base.py Make sqlite database migrations transactional again (#14910) 2023-01-25 13:38:53 +00:00
postgres.py Enable --warn-redundant-casts option in mypy (#14671) 2022-12-12 21:25:07 +00:00
sqlite.py Make sqlite database migrations transactional again (#14910) 2023-01-25 13:38:53 +00:00