Skip to content

Commit ac61c17

Browse files
committed
Update pushmirror model to allow sync-on-push
1 parent 26ec628 commit ac61c17

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

models/repo/pushmirror.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ type PushMirror struct {
2323
Repo *Repository `xorm:"-"`
2424
RemoteName string
2525

26+
SyncOnPush bool
2627
Interval time.Duration
2728
CreatedUnix timeutil.TimeStamp `xorm:"created"`
2829
LastUpdateUnix timeutil.TimeStamp `xorm:"INDEX last_update"`

0 commit comments

Comments
 (0)