You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- package models
-
- import "code.gitea.io/gitea/modules/timeutil"
-
- type AdminOperateLog struct {
- ID int64 `xorm:"pk autoincr"`
- BizType string
- OperateType string
- OldValue string `xorm:"TEXT JSON"`
- NewValue string `xorm:"TEXT JSON"`
- RelatedId string `xorm:"INDEX"`
- Comment string
- CreatedTime timeutil.TimeStamp `xorm:"created"`
- CreatedBy int64
- }
-
- func InsertAdminOperateLog(log AdminOperateLog) (int64, error) {
- return x.Insert(&log)
- }
|