mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-04 13:50:11 +00:00
mob-next: how to store port & schema
This commit is contained in:
parent
5b8173f660
commit
cf8a30efac
3 changed files with 16 additions and 3 deletions
|
@ -13,6 +13,8 @@ type FederatedRepo struct {
|
|||
RepoID int64 `xorm:"NOT NULL"`
|
||||
ExternalID string `xorm:"TEXT UNIQUE(federation_repo_mapping) NOT NULL"`
|
||||
FederationHostID int64 `xorm:"UNIQUE(federation_repo_mapping) NOT NULL"`
|
||||
Schema string
|
||||
Port string
|
||||
}
|
||||
|
||||
func NewFederatedRepo(repoID int64, externalID string, federationHostID int64) (FederatedRepo, error) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue