diff options
author | Richard van der Hoff <richard@matrix.org> | 2018-02-03 23:12:27 +0000 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2018-02-13 16:44:46 +0000 |
commit | 0b27ae8dc3957e77561b2ff35a5a127532f6f9f1 (patch) | |
tree | d229ccd772842c0d149bcc9052c5be18d3450740 | |
parent | GIN reindex: Fix syntax errors, improve exception handling (diff) | |
download | synapse-0b27ae8dc3957e77561b2ff35a5a127532f6f9f1.tar.xz |
move search reindex to schema 47
We're up to schema v47 on develop now, so this will have to go in there to have an effect. This might cause an error if somebody has already run it in the v46 guise, and runs it again in the v47 guise, because it will cause a duplicate entry in the bbackground_updates table. On the other hand, the entry is removed once it is complete, and it is unlikely that anyone other than matrix.org has run it on v46. The update itself is harmless to re-run because it deliberately copes with the index already existing.
-rw-r--r-- | synapse/storage/schema/delta/38/postgres_fts_gist.sql | 2 | ||||
-rw-r--r-- | synapse/storage/schema/delta/47/postgres_fts_gin.sql (renamed from synapse/storage/schema/delta/46/postgres_fts_gin.sql) | 0 |
2 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/schema/delta/38/postgres_fts_gist.sql b/synapse/storage/schema/delta/38/postgres_fts_gist.sql index 5fe27d6877..515e6b8e84 100644 --- a/synapse/storage/schema/delta/38/postgres_fts_gist.sql +++ b/synapse/storage/schema/delta/38/postgres_fts_gist.sql @@ -13,7 +13,7 @@ * limitations under the License. */ --- We no longer do this given we back it out again in schema 46 +-- We no longer do this given we back it out again in schema 47 -- INSERT into background_updates (update_name, progress_json) -- VALUES ('event_search_postgres_gist', '{}'); diff --git a/synapse/storage/schema/delta/46/postgres_fts_gin.sql b/synapse/storage/schema/delta/47/postgres_fts_gin.sql index 31d7a817eb..31d7a817eb 100644 --- a/synapse/storage/schema/delta/46/postgres_fts_gin.sql +++ b/synapse/storage/schema/delta/47/postgres_fts_gin.sql |