1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 12:54:53 -05:00

breaking struct adjustment

This commit is contained in:
Clemens 2024-01-12 17:49:07 +01:00 committed by Michael Jerger
parent 1f989f2ecd
commit 7d30d14c76
2 changed files with 1 additions and 2 deletions

View file

@ -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"`

View file

@ -97,7 +97,6 @@ func (id ActorID) AsWellKnownNodeInfoUri() string {
// NodeInfo data type
// swagger:model
type NodeInfo struct {
ID int64 `xorm:"pk autoincr"`
Source SourceType
}