mirror of
https://github.com/go-gitea/gitea.git
synced 2026-08-07 15:32:11 +00:00
ac49dbe1a2
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
18 lines
325 B
Go
18 lines
325 B
Go
// Copyright 2020 The Gitea Authors. All rights reserved.
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
package v1_13
|
|
|
|
import (
|
|
"context"
|
|
|
|
"gitea.dev/modelmigration/base"
|
|
)
|
|
|
|
func AddTrustModelToRepository(_ context.Context, x base.EngineMigration) error {
|
|
type Repository struct {
|
|
TrustModel int
|
|
}
|
|
return x.Sync(new(Repository))
|
|
}
|