Refactor and remove sqlite and replace with MySQL
This commit is contained in:
14
internal/models/audit.go
Normal file
14
internal/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