From 26c0c0bdfdeb3d89032b8ba3895643e3649c7556 Mon Sep 17 00:00:00 2001 From: "DESKTOP-4RNDQIC\\29019" <290198252@qq.com> Date: Tue, 9 Mar 2021 00:00:21 +0800 Subject: [PATCH] no message --- model/model.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/model.go b/model/model.go index be43857..5cfa211 100644 --- a/model/model.go +++ b/model/model.go @@ -22,7 +22,7 @@ type Undo struct { ID int32 `json:"id" gorm:"column:id" sql:"id"` Content string `json:"content" gorm:"column:content" sql:"content"` SpendTime int32 `json:"spend_time" gorm:"column:spend_time" sql:"spend_time"` - Child int32 `json:"child" gorm:"column:child" sql:"child"` + Parent int32 `json:"parent" gorm:"column:parent" sql:"parent"` Level int32 `json:"level" gorm:"column:level" sql:"level"` Type int32 `json:"type" gorm:"column:type" sql:"type"` }