This repository has been archived on 2024-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
2020-09-19 16:44:55 +00:00
|
|
|
// Copyright 2020 The Gitea Authors. All rights reserved.
|
2022-11-27 18:20:29 +00:00
|
|
|
// SPDX-License-Identifier: MIT
|
2020-09-19 16:44:55 +00:00
|
|
|
|
2022-11-02 08:54:36 +00:00
|
|
|
package v1_13 //nolint
|
2020-09-19 16:44:55 +00:00
|
|
|
|
|
|
|
import "xorm.io/xorm"
|
|
|
|
|
2022-11-02 08:54:36 +00:00
|
|
|
func AddTrustModelToRepository(x *xorm.Engine) error {
|
2020-09-19 16:44:55 +00:00
|
|
|
type Repository struct {
|
|
|
|
TrustModel int
|
|
|
|
}
|
|
|
|
return x.Sync2(new(Repository))
|
|
|
|
}
|