mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-02 21:02:09 +00:00
added test for federated user
This commit is contained in:
parent
67f3f66be4
commit
a702da69cc
5 changed files with 34 additions and 3 deletions
|
@ -15,8 +15,7 @@ import (
|
|||
// FederationHost data type
|
||||
// swagger:model
|
||||
type FederationHost struct {
|
||||
ID int64 `xorm:"pk autoincr"`
|
||||
// TODO: implement a toLower here & add a toLowerValidation
|
||||
ID int64 `xorm:"pk autoincr"`
|
||||
HostFqdn string `xorm:"host_fqdn UNIQUE INDEX VARCHAR(255) NOT NULL"`
|
||||
NodeInfo NodeInfo `xorm:"extends NOT NULL"`
|
||||
LatestActivity time.Time `xorm:"NOT NULL"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue