mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-23 16:56:10 +01:00
🎨 Improve database date fields to automatically fill in creation time https://github.com/siyuan-note/siyuan/issues/15828
🎨 Improve database date fields to automatically fill in creation time https://github.com/siyuan-note/siyuan/issues/15828
This commit is contained in:
parent
72c84f5f3d
commit
6cc6ef66f9
5 changed files with 38 additions and 11 deletions
|
|
@ -57,6 +57,8 @@ type Value struct {
|
|||
Checkbox *ValueCheckbox `json:"checkbox,omitempty"`
|
||||
Relation *ValueRelation `json:"relation,omitempty"`
|
||||
Rollup *ValueRollup `json:"rollup,omitempty"`
|
||||
|
||||
IsRenderAutoFill bool `json:"-"` // 标识是否是渲染阶段自动填充的值,保存数据的时候要删掉
|
||||
}
|
||||
|
||||
func (value *Value) SetUpdatedAt(mills int64) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue