diff options
Diffstat (limited to 'models/admin.go')
-rw-r--r-- | models/admin.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/admin.go b/models/admin.go index 058e9be8a8..9447ef67ea 100644 --- a/models/admin.go +++ b/models/admin.go @@ -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. |