MCPcopy Create free account
hub / github.com/TruthHun/BookStack / DocumentHistory

Struct DocumentHistory

models/document_history.go:10–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8)
9
10type DocumentHistory struct {
11 HistoryId int `orm:"column(history_id);pk;auto;unique" json:"history_id"`
12 Action string `orm:"column(action);size(255)" json:"action"`
13 ActionName string `orm:"column(action_name);size(255)" json:"action_name"`
14 DocumentId int `orm:"column(document_id);type(int);index" json:"doc_id"`
15 DocumentName string `orm:"column(document_name);size(500)" json:"doc_name"`
16 ParentId int `orm:"column(parent_id);type(int);index;default(0)" json:"parent_id"`
17 MemberId int `orm:"column(member_id);type(int);index" json:"member_id"`
18 ModifyTime time.Time `orm:"column(modify_time);type(datetime);auto_now" json:"modify_time"`
19 ModifyAt int `orm:"column(modify_at);type(int)" json:"-"`
20 Version int64 `orm:"type(bigint);column(version)" json:"version"`
21}
22
23type DocumentHistorySimpleResult struct {
24 HistoryId int `json:"history_id"`

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected