Lots of UI and admin changes, need to clean up the three audit log tables and a few other niggles.
This commit is contained in:
14
models/audit.go
Normal file
14
models/audit.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package models
|
||||
|
||||
import "time"
|
||||
|
||||
type AuditEntry struct {
|
||||
ID int
|
||||
UserID int
|
||||
Username string
|
||||
Action string
|
||||
Path string
|
||||
IP string
|
||||
UserAgent string
|
||||
Timestamp time.Time
|
||||
}
|
||||
Reference in New Issue
Block a user