mirror of
https://github.com/go-gitea/gitea.git
synced 2026-05-13 19:45:47 +02:00
Sync -> SyncWithOption
This commit is contained in:
parent
f4a03de9b5
commit
903c19b77f
@ -14,5 +14,8 @@ func (mirrorWithLastSyncUnix) TableName() string {
|
||||
}
|
||||
|
||||
func AddLastSyncUnixToMirror(x *xorm.Engine) error {
|
||||
return x.Sync(new(mirrorWithLastSyncUnix))
|
||||
_, err := x.SyncWithOptions(xorm.SyncOptions{
|
||||
IgnoreDropIndices: true,
|
||||
}, new(mirrorWithLastSyncUnix))
|
||||
return err
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user