1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

bug fixed & more commits for push

This commit is contained in:
Lunny Xiao
2014-03-23 16:31:13 +08:00
parent 17da2fd2e3
commit 1201c6a9b4
4 changed files with 145 additions and 38 deletions

View File

@@ -28,7 +28,7 @@ type Action struct {
ActUserName string // Action user name.
RepoId int64
RepoName string
Content string
Content string `xorm:"varchar(1000)"`
Created time.Time `xorm:"created"`
}

View File

@@ -91,5 +91,5 @@ func GetStatistic() (stats Statistic) {
stats.Counter.Watch, _ = orm.Count(new(Watch))
stats.Counter.Action, _ = orm.Count(new(Action))
stats.Counter.Access, _ = orm.Count(new(Access))
return stats
return
}