From aa75f981e119b1b0f019596234fc1e38920e735c Mon Sep 17 00:00:00 2001 From: Christopher Speller Date: Fri, 3 Feb 2017 18:34:37 -0500 Subject: Adding PostId index (#5300) --- store/sql_file_info_store.go | 1 + 1 file changed, 1 insertion(+) diff --git a/store/sql_file_info_store.go b/store/sql_file_info_store.go index 426ec5c76..762eac5d4 100644 --- a/store/sql_file_info_store.go +++ b/store/sql_file_info_store.go @@ -33,6 +33,7 @@ func (fs SqlFileInfoStore) CreateIndexesIfNotExists() { fs.CreateIndexIfNotExists("idx_fileinfo_update_at", "FileInfo", "UpdateAt") fs.CreateIndexIfNotExists("idx_fileinfo_create_at", "FileInfo", "CreateAt") fs.CreateIndexIfNotExists("idx_fileinfo_delete_at", "FileInfo", "DeleteAt") + fs.CreateIndexIfNotExists("idx_fileinfo_postid_at", "FileInfo", "PostId") } func (fs SqlFileInfoStore) Save(info *model.FileInfo) StoreChannel { -- cgit v1.2.3-1-g7c22