update indices on event table
This commit is contained in:
parent
938ef9fb3f
commit
eb9bdf35cd
@ -32,7 +32,7 @@ type Event struct {
|
|||||||
Src *Src `xorm:"int src_id index"`
|
Src *Src `xorm:"int src_id index"`
|
||||||
Host *Host `xorm:"int host_id index"`
|
Host *Host `xorm:"int host_id index"`
|
||||||
IP *IP `xorm:"int ip_id index"`
|
IP *IP `xorm:"int ip_id index"`
|
||||||
Created time.Time `xorm:"created notnull"`
|
Created time.Time `xorm:"created notnull index"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type APIEvent struct {
|
type APIEvent struct {
|
||||||
|
Loading…
Reference in New Issue
Block a user