Merge branch 'api-attribute-rename' of https://github.com/vmware/harbor into api-attribute-rename

This commit is contained in:
kunw 2016-06-02 12:11:16 +08:00
commit e3e0b48230

View File

@ -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