From 8fc1cd0430d528d8d29da566b05ff68b73a79e95 Mon Sep 17 00:00:00 2001 From: zicla Date: Mon, 16 Mar 2020 01:50:09 +0800 Subject: [PATCH] Read to finish the webdav's props. --- code/rest/matter_model.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/rest/matter_model.go b/code/rest/matter_model.go index a9564f6..9cddc19 100644 --- a/code/rest/matter_model.go +++ b/code/rest/matter_model.go @@ -41,7 +41,7 @@ type Matter struct { Times int64 `json:"times" gorm:"type:bigint(20) not null;default:0"` Parent *Matter `json:"parent" gorm:"-"` Children []*Matter `json:"-" gorm:"-"` - Prop string `json:"prop" gorm:"type:varchar(1024) not null;default:''{}''"` + Prop string `json:"prop" gorm:"type:varchar(1024) not null;default:'{}'"` } // set File's table name to be `profiles`