update indices on event table
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

This commit is contained in:
Paul 2024-05-30 09:10:36 +02:00
parent 938ef9fb3f
commit eb9bdf35cd

View File

@ -32,7 +32,7 @@ type Event struct {
Src *Src `xorm:"int src_id index"`
Host *Host `xorm:"int host_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 {