Skip to content

Commit

Permalink
Read to finish the webdav's props.
Browse files Browse the repository at this point in the history
  • Loading branch information
zicla committed Mar 15, 2020
1 parent 7ff7907 commit 8fc1cd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/rest/matter_model.go
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit 8fc1cd0

Please sign in to comment.