1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-24 08:57:03 -05:00

federated user is not entity - so no need for ID

This commit is contained in:
Michael Jerger 2024-02-08 15:16:02 +01:00
parent 91f7541add
commit d2d5e84977

View file

@ -8,7 +8,6 @@ import (
)
type FederatedUser struct {
ID int64 `xorm:"pk NOT NULL"`
UserID int64 `xorm:"NOT NULL"`
ExternalID string `xorm:"TEXT UNIQUE(federation_mapping) NOT NULL"`
FederationHostID int64 `xorm:"UNIQUE(federation_mapping) NOT NULL"`