mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-22 16:47:30 +00:00
small fix by adding id as pk for FederatedUser
This commit is contained in:
parent
086c66b06a
commit
db2f896264
|
@ -8,6 +8,7 @@ import (
|
|||
)
|
||||
|
||||
type FederatedUser struct {
|
||||
ID int64 `xorm:"pk autoincr"`
|
||||
UserID int64 `xorm:"NOT NULL"`
|
||||
ExternalID string `xorm:"TEXT UNIQUE(federation_mapping) NOT NULL"`
|
||||
FederationHostID int64 `xorm:"UNIQUE(federation_mapping) NOT NULL"`
|
||||
|
|
Loading…
Reference in a new issue