MatrixSynapse/synapse/storage/databases
Patrick Cloke a7b3e9ce65
Set thread_id column to non-null for event_push_{actions,actions_staging,summary} (#15437)
Updates the database schema to require a thread_id (by adding a
constraint that the column is non-null) for event_push_actions,
event_push_actions_staging, and event_push_actions_summary.

For PostgreSQL we add the constraint as NOT VALID, then
VALIDATE the constraint a background job to avoid locking
the table during an upgrade.

For SQLite we simply rebuild the table & copy the data.
2023-05-03 07:49:03 -04:00
..
main Set thread_id column to non-null for event_push_{actions,actions_staging,summary} (#15437) 2023-05-03 07:49:03 -04:00
state Include the room ID in more purge room log lines. (#15222) 2023-03-08 20:08:56 +00:00
__init__.py Check databases/__init__ and main/cache with mypy. (#15496) 2023-04-27 07:59:14 -04:00