diff --git a/models/user/federated_user.go b/models/user/federated_user.go index cb65948b73..a730a14645 100644 --- a/models/user/federated_user.go +++ b/models/user/federated_user.go @@ -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"`