mirror of https://github.com/synctv-org/synctv
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
357 B
Go
14 lines
357 B
Go
package model
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
type UserProvider struct {
|
|
Provider string `gorm:"primarykey;type:varchar(32);uniqueIndex:idx_provider_user_id"`
|
|
ProviderUserID string `gorm:"primarykey;type:varchar(64)"`
|
|
CreatedAt time.Time
|
|
UpdatedAt time.Time
|
|
UserID string `gorm:"not null;type:char(32);uniqueIndex:idx_provider_user_id"`
|
|
}
|