houyaf 3 lat temu
rodzic
commit
fbe52b5d97
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      datamodels/repo.go

+ 1 - 0
datamodels/repo.go

@@ -5,6 +5,7 @@ import "time"
 type Repo struct {
     RepoId          int64     `json:"repoId"         xorm:"'repo_id'            bigint      pk comment('Repo ID')         "`
     RepoTypeId      int64     `json:"repoTypeId"     xorm:"'repo_type_id'       bigint      pk comment('Repo Type ID')    "`
+    RepoCatId       int64     `json:"repoCatId"      xorm:"'repo_cat_id'        bigint      pk comment('Repo Cat ID')     "`
     RepoTitle       string    `json:"repoTitle"      xorm:"'repo_title'         varchar(127)   comment('Repo Title')      "`
     RepoHost        string    `json:"repoHost"       xorm:"'repo_host'          varchar(127)   comment('Repo Host')       "`
     RepoPort        int64     `json:"repoPort"       xorm:"'repo_port'          bigint         comment('Repo Port')       "`