0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-07-11 13:48:50 +02:00
synapse/changelog.d/6102.bugfix
Brendan Abolivier c97ed64db3
Make synapse_port_db correctly create indexes (#6102)
Make `synapse_port_db` correctly create indexes in the PostgreSQL database, by having it run the background updates on the database before migrating the data.

To ensure we're migrating the right data, also block the port if the SQLite3 database still has pending or ongoing background updates.

Fixes #4877
2019-10-23 15:31:59 +01:00

2 lines
89 B
Plaintext

Make the `synapse_port_db` script create the right indexes on a new PostgreSQL database.