Browse Source

Merge branch 'V20220328' of git.openi.org.cn:OpenI/aiforge into cb-train

pull/1722/head
lewis 3 years ago
parent
commit
14913c989f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      models/repo_statistic.go

+ 1
- 1
models/repo_statistic.go View File

@@ -17,7 +17,7 @@ type RepoStatistic struct {
IsPrivate bool `json:"isPrivate"` IsPrivate bool `json:"isPrivate"`
IsMirror bool `json:"isMirror"` IsMirror bool `json:"isMirror"`
IsFork bool `json:"isFork"` IsFork bool `json:"isFork"`
RepoCreatedUnix timeutil.TimeStamp `xorm:"NOT NULL" json:"createUnix"`
RepoCreatedUnix timeutil.TimeStamp `xorm:"NOT NULL DEFAULT 0" json:"createUnix"`
Date string `xorm:"unique(s) NOT NULL" json:"date"` Date string `xorm:"unique(s) NOT NULL" json:"date"`
NumWatches int64 `xorm:"NOT NULL DEFAULT 0" json:"watch"` NumWatches int64 `xorm:"NOT NULL DEFAULT 0" json:"watch"`
NumWatchesAdded int64 `xorm:"NOT NULL DEFAULT 0" json:"-"` NumWatchesAdded int64 `xorm:"NOT NULL DEFAULT 0" json:"-"`


Loading…
Cancel
Save