mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-24 22:20:35 +00:00
breaking struct adjustment
This commit is contained in:
parent
1f989f2ecd
commit
7d30d14c76
|
@ -13,7 +13,7 @@ import (
|
|||
type FederationInfo struct {
|
||||
ID int64 `xorm:"pk autoincr"`
|
||||
HostFqdn string `xorm:"host_fqdn UNIQUE INDEX VARCHAR(255) NOT NULL"`
|
||||
NodeInfo NodeInfo `xorm:"NOT NULL"`
|
||||
NodeInfo NodeInfo `xorm:"extends NOT NULL"`
|
||||
LatestActivity timeutil.TimeStamp `xorm:"NOT NULL"`
|
||||
Create timeutil.TimeStamp `xorm:"created"`
|
||||
Updated timeutil.TimeStamp `xorm:"updated"`
|
||||
|
|
|
@ -97,7 +97,6 @@ func (id ActorID) AsWellKnownNodeInfoUri() string {
|
|||
// NodeInfo data type
|
||||
// swagger:model
|
||||
type NodeInfo struct {
|
||||
ID int64 `xorm:"pk autoincr"`
|
||||
Source SourceType
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue