[DO NOT MERGE] Add migration to create logical replication slot for notify dashboard#4906
[DO NOT MERGE] Add migration to create logical replication slot for notify dashboard#4906DilwoarH wants to merge 1 commit into
Conversation
|
Needs https://github.com/alphagov/notifications-aws/pull/3035 to be merged in first |
81f9491 to
661c1ca
Compare
|
|
661c1ca to
c95c5f5
Compare
Good point - I think we'll have to update this here: I'll get on this |
7a0aa49 to
579d4df
Compare
01ad569 to
278215e
Compare
278215e to
fb582fd
Compare
The same issue could happen in the production database if the data is not consumed, unless the production database is configured differently. |
I don't think we want to restrict production as we'll be relying on the data to update the stats. Also WAL is used for other things so don't want to change any of these |
NOTE: DO NOT MERGE UNTIL DB HAS BEEN RESTARTED
What
Add migration to create logical replication slot for notify dashboard
Why
This allows us to keep track of changes in the database