mirror of
https://github.com/element-hq/synapse.git
synced 2025-03-05 15:37:02 +00:00
Fix postgres schema after dropping old tables (#16730)
This commit is contained in:
parent
51e4e35653
commit
0bb8e418a4
6 changed files with 1 additions and 5 deletions
1
changelog.d/16730.misc
Normal file
1
changelog.d/16730.misc
Normal file
|
@ -0,0 +1 @@
|
|||
Add a Postgres `REPLICA IDENTITY` to tables that do not have an implicit one. This should allow use of Postgres logical replication.
|
|
@ -1 +0,0 @@
|
|||
ALTER TABLE batch_events REPLICA IDENTITY USING INDEX chunk_events_event_id;
|
|
@ -1 +0,0 @@
|
|||
ALTER TABLE event_txn_id REPLICA IDENTITY USING INDEX event_txn_id_event_id;
|
|
@ -1 +0,0 @@
|
|||
ALTER TABLE insertion_event_edges REPLICA IDENTITY FULL;
|
|
@ -1 +0,0 @@
|
|||
ALTER TABLE insertion_event_extremities REPLICA IDENTITY USING INDEX insertion_event_extremities_event_id;
|
|
@ -1 +0,0 @@
|
|||
ALTER TABLE insertion_events REPLICA IDENTITY USING INDEX insertion_events_event_id;
|
Loading…
Add table
Reference in a new issue