Fix warn in database structs sync (#22111)

Fix #21880
tokarchuk/v1.17
Lunny Xiao 2 years ago committed by GitHub
parent c057590a3a
commit 0e95e7460e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      models/repo/pushmirror.go

@ -23,6 +23,7 @@ type PushMirror struct {
Repo *Repository `xorm:"-"`
RemoteName string
SyncOnCommit bool `xorm:"NOT NULL DEFAULT true"`
Interval time.Duration
CreatedUnix timeutil.TimeStamp `xorm:"created"`
LastUpdateUnix timeutil.TimeStamp `xorm:"INDEX last_update"`

Loading…
Cancel
Save