mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-21 08:31:27 -05:00
breaking struct adjustment
This commit is contained in:
parent
1f989f2ecd
commit
7d30d14c76
2 changed files with 1 additions and 2 deletions
|
@ -13,7 +13,7 @@ import (
|
||||||
type FederationInfo struct {
|
type FederationInfo struct {
|
||||||
ID int64 `xorm:"pk autoincr"`
|
ID int64 `xorm:"pk autoincr"`
|
||||||
HostFqdn string `xorm:"host_fqdn UNIQUE INDEX VARCHAR(255) NOT NULL"`
|
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"`
|
LatestActivity timeutil.TimeStamp `xorm:"NOT NULL"`
|
||||||
Create timeutil.TimeStamp `xorm:"created"`
|
Create timeutil.TimeStamp `xorm:"created"`
|
||||||
Updated timeutil.TimeStamp `xorm:"updated"`
|
Updated timeutil.TimeStamp `xorm:"updated"`
|
||||||
|
|
|
@ -97,7 +97,6 @@ func (id ActorID) AsWellKnownNodeInfoUri() string {
|
||||||
// NodeInfo data type
|
// NodeInfo data type
|
||||||
// swagger:model
|
// swagger:model
|
||||||
type NodeInfo struct {
|
type NodeInfo struct {
|
||||||
ID int64 `xorm:"pk autoincr"`
|
|
||||||
Source SourceType
|
Source SourceType
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue