Fix postgres schema after dropping old tables (#16730)

This commit is contained in:
David Robertson 2023-12-05 11:08:40 +00:00 committed by GitHub
parent 51e4e35653
commit 0bb8e418a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 1 additions and 5 deletions

1
changelog.d/16730.misc Normal file
View 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.

View File

@ -1 +0,0 @@
ALTER TABLE batch_events REPLICA IDENTITY USING INDEX chunk_events_event_id;

View File

@ -1 +0,0 @@
ALTER TABLE event_txn_id REPLICA IDENTITY USING INDEX event_txn_id_event_id;

View File

@ -1 +0,0 @@
ALTER TABLE insertion_event_edges REPLICA IDENTITY FULL;

View File

@ -1 +0,0 @@
ALTER TABLE insertion_event_extremities REPLICA IDENTITY USING INDEX insertion_event_extremities_event_id;

View File

@ -1 +0,0 @@
ALTER TABLE insertion_events REPLICA IDENTITY USING INDEX insertion_events_event_id;