summary refs log tree commit diff
path: root/tests/config/test___main__.py
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2023-05-03 07:49:03 -0400
committerGitHub <noreply@github.com>2023-05-03 07:49:03 -0400
commita7b3e9ce65335e452de216cb42b9e724e8f3ad1d (patch)
treed7157fb842b4d8877a572d76522a6c998566af6a /tests/config/test___main__.py
parentAdd config option to forget rooms automatically when users leave them (#15224) (diff)
downloadsynapse-a7b3e9ce65335e452de216cb42b9e724e8f3ad1d.tar.xz
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.
Diffstat (limited to 'tests/config/test___main__.py')
0 files changed, 0 insertions, 0 deletions