diff --git a/models/project.go b/models/project.go index 4af9523b0..7f5d54c25 100644 --- a/models/project.go +++ b/models/project.go @@ -26,10 +26,10 @@ type Project struct { Name string `orm:"column(name)" json:"name"` CreationTime time.Time `orm:"column(creation_time)" json:"creation_time"` CreationTimeStr string `json:"creation_time_str"` - Deleted int `orm:"column(deleted) json:"deleted""` + Deleted int `orm:"column(deleted)" json:"deleted"` //UserID int `json:"UserId"` OwnerName string `json:"owner_name"` - Public int `orm:"column(public) json:"public"` + Public int `orm:"column(public)" json:"public"` //This field does not have correspondent column in DB, this is just for UI to disable button Togglable bool