Skip to content

Commit

Permalink
Fix warn in database structs sync (go-gitea#22111)
Browse files Browse the repository at this point in the history
  • Loading branch information
lunny authored Dec 13, 2022
1 parent c057590 commit 0e95e74
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions models/repo/pushmirror.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down

0 comments on commit 0e95e74

Please sign in to comment.