mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-24 18:45:52 +03:00
Add old indices
This commit is contained in:
parent
7cc483aa0e
commit
4dc07e93a8
1 changed files with 2 additions and 0 deletions
|
@ -34,3 +34,5 @@ DROP TABLE local_media_repository_url_cache;
|
|||
ALTER TABLE local_media_repository_url_cache_new RENAME TO local_media_repository_url_cache;
|
||||
|
||||
CREATE INDEX local_media_repository_url_cache_expires_idx ON local_media_repository_url_cache(expires_ts);
|
||||
CREATE INDEX local_media_repository_url_cache_by_url_download_ts ON local_media_repository_url_cache(url, download_ts);
|
||||
CREATE INDEX local_media_repository_url_cache_media_idx ON local_media_repository_url_cache(media_id);
|
||||
|
|
Loading…
Reference in a new issue