mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-01-13 23:44:37 +01:00
federated user is not entity - so no need for ID
This commit is contained in:
parent
91f7541add
commit
d2d5e84977
1 changed files with 0 additions and 1 deletions
|
@ -8,7 +8,6 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
type FederatedUser struct {
|
type FederatedUser struct {
|
||||||
ID int64 `xorm:"pk NOT NULL"`
|
|
||||||
UserID int64 `xorm:"NOT NULL"`
|
UserID int64 `xorm:"NOT NULL"`
|
||||||
ExternalID string `xorm:"TEXT UNIQUE(federation_mapping) NOT NULL"`
|
ExternalID string `xorm:"TEXT UNIQUE(federation_mapping) NOT NULL"`
|
||||||
FederationHostID int64 `xorm:"UNIQUE(federation_mapping) NOT NULL"`
|
FederationHostID int64 `xorm:"UNIQUE(federation_mapping) NOT NULL"`
|
||||||
|
|
Loading…
Reference in a new issue