More brackets

pull/2478/head
Erik Johnston 2017-09-28 12:23:15 +01:00
parent 9ccb4226ba
commit 77f1d24de3
1 changed files with 1 additions and 1 deletions

View File

@ -14,4 +14,4 @@
*/
CREATE INDEX local_media_repository_url_idx ON local_media_repository(created_ts) WHERE url_cache IS NOT NULL;
CREATE INDEX local_media_repository_url_cache_expires_idx ON local_media_repository_url_cache(download_ts + expires);
CREATE INDEX local_media_repository_url_cache_expires_idx ON local_media_repository_url_cache((download_ts + expires));