1
0
Fork 0
forked from forgejo/forgejo

Create missing database indexes (#596)

This commit is contained in:
Andrey Nering 2017-01-06 13:14:33 -02:00 committed by Lunny Xiao
parent 1a7fc53c98
commit 84b7d29d34
13 changed files with 64 additions and 64 deletions

View file

@ -32,7 +32,7 @@ type Notice struct {
Type NoticeType
Description string `xorm:"TEXT"`
Created time.Time `xorm:"-"`
CreatedUnix int64
CreatedUnix int64 `xorm:"INDEX"`
}
// BeforeInsert is invoked from XORM before inserting an object of this type.