MatrixSynapse/synapse/storage
Richard van der Hoff 567f88f835
Prep work for removing `outlier` from `internal_metadata` (#9411)
* Populate `internal_metadata.outlier` based on `events` table

Rather than relying on `outlier` being in the `internal_metadata` column,
populate it based on the `events.outlier` column.

* Move `outlier` out of InternalMetadata._dict

Ultimately, this will allow us to stop writing it to the database. For now, we
have to grandfather it back in so as to maintain compatibility with older
versions of Synapse.
2021-03-17 12:33:18 +00:00
..
databases Prep work for removing `outlier` from `internal_metadata` (#9411) 2021-03-17 12:33:18 +00:00
engines Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
schema Only run one background update at a time 2020-03-31 17:43:58 +01:00
util Refactor to ensure we call check_consistency (#9470) 2021-02-24 10:13:53 +00:00
__init__.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
_base.py Add additional type hints to the storage module. (#8980) 2020-12-30 08:09:53 -05:00
background_updates.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
database.py Refactor to ensure we call check_consistency (#9470) 2021-02-24 10:13:53 +00:00
keys.py Add additional type hints to the storage module. (#8980) 2020-12-30 08:09:53 -05:00
persist_events.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
prepare_database.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
purge_events.py Purge chain cover tables when purging events. (#9498) 2021-03-03 11:04:08 -05:00
push_rule.py Move storage classes into a main "data store". 2019-10-21 16:05:06 +01:00
relations.py Add additional type hints to the storage module. (#8980) 2020-12-30 08:09:53 -05:00
roommember.py Bump the mypy and mypy-zope versions. (#9529) 2021-03-03 07:19:19 -05:00
state.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
types.py Update type hints for Cursor to match PEP 249. (#9299) 2021-02-05 15:39:19 -05:00