Add database indexes to timestamp columns (#4314)
* Add database indexes to timestamp columns * add indexes to session table
Этот коммит содержится в:
коммит произвёл
Christopher Speller
родитель
510291e2e7
Коммит
5fdb8223fc
@@ -27,6 +27,9 @@ func NewSqlEmojiStore(sqlStore *SqlStore) EmojiStore {
|
||||
}
|
||||
|
||||
func (es SqlEmojiStore) CreateIndexesIfNotExists() {
|
||||
es.CreateIndexIfNotExists("idx_emoji_update_at", "Emoji", "UpdateAt")
|
||||
es.CreateIndexIfNotExists("idx_emoji_create_at", "Emoji", "CreateAt")
|
||||
es.CreateIndexIfNotExists("idx_emoji_delete_at", "Emoji", "DeleteAt")
|
||||
}
|
||||
|
||||
func (es SqlEmojiStore) Save(emoji *model.Emoji) StoreChannel {
|
||||
|
||||
Ссылка в новой задаче
Block a user