mirror of
https://github.com/go-gitea/gitea
synced 2025-09-28 03:28:13 +00:00
fix: rename table name string
This commit is contained in:
@@ -196,7 +196,7 @@ func (opts FindRunnerOptions) toOrder() string {
|
||||
|
||||
func CountRunners(opts FindRunnerOptions) (int64, error) {
|
||||
return db.GetEngine(db.DefaultContext).
|
||||
Table("bots_runner").
|
||||
Table(BotRunner{}).
|
||||
Where(opts.toCond()).
|
||||
OrderBy(opts.toOrder()).
|
||||
Count()
|
||||
|
Reference in New Issue
Block a user