Add old indices

This commit is contained in:
Erik Johnston 2017-09-28 14:10:33 +01:00
parent 7cc483aa0e
commit 4dc07e93a8
1 changed files with 2 additions and 0 deletions

View File

@ -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);