summaryrefslogtreecommitdiffstats
path: root/store/sql_user_store.go
diff options
context:
space:
mode:
Diffstat (limited to 'store/sql_user_store.go')
-rw-r--r--store/sql_user_store.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/store/sql_user_store.go b/store/sql_user_store.go
index 7904bdbfe..c1fb9b28d 100644
--- a/store/sql_user_store.go
+++ b/store/sql_user_store.go
@@ -55,6 +55,9 @@ func NewSqlUserStore(sqlStore *SqlStore) UserStore {
func (us SqlUserStore) CreateIndexesIfNotExists() {
us.CreateIndexIfNotExists("idx_users_email", "Users", "Email")
+ us.CreateIndexIfNotExists("idx_users_update_at", "Users", "UpdateAt")
+ us.CreateIndexIfNotExists("idx_users_create_at", "Users", "CreateAt")
+ us.CreateIndexIfNotExists("idx_users_delete_at", "Users", "DeleteAt")
us.CreateFullTextIndexIfNotExists("idx_users_username_txt", "Users", USER_SEARCH_TYPE_USERNAME)
us.CreateFullTextIndexIfNotExists("idx_users_all_names_txt", "Users", USER_SEARCH_TYPE_ALL)