synapse-product/synapse/storage/schema
Nick Mills-Barrett 993d90f82b
Use a sequence to generate AS transaction IDs, drop last_txn AS state (#12209)
Switching to a sequence means there's no need to track `last_txn` on the
AS state table to generate new TXN IDs. This also means that there is
no longer contention between the AS scheduler and AS handler on updates
to the `application_services_state` table, which will prevent serialization
errors during the complete AS txn transaction.
2022-04-01 13:33:25 +00:00
..
common Support for database schema version ranges (#9933) 2021-06-11 14:45:53 +01:00
main Use a sequence to generate AS transaction IDs, drop last_txn AS state (#12209) 2022-04-01 13:33:25 +00:00
state Reduce likelihood of Postgres table scanning state_groups_state. (#10359) 2021-07-15 16:02:12 +01:00
__init__.py Use a sequence to generate AS transaction IDs, drop last_txn AS state (#12209) 2022-04-01 13:33:25 +00:00
README.md update links to schema doc (#10620) 2021-08-17 10:45:35 +00:00

Synapse Database Schemas

This directory contains the schema files used to build Synapse databases. For more information, see https://matrix-org.github.io/synapse/develop/development/database_schema.html.