mirror of
https://github.com/pocketbase/pocketbase.git
synced 2025-01-26 23:13:09 +02:00
16 lines
318 B
Go
16 lines
318 B
Go
|
package models
|
||
|
|
||
|
var _ Model = (*ExternalAuth)(nil)
|
||
|
|
||
|
type ExternalAuth struct {
|
||
|
BaseModel
|
||
|
|
||
|
UserId string `db:"userId" json:"userId"`
|
||
|
Provider string `db:"provider" json:"provider"`
|
||
|
ProviderId string `db:"providerId" json:"providerId"`
|
||
|
}
|
||
|
|
||
|
func (m *ExternalAuth) TableName() string {
|
||
|
return "_externalAuths"
|
||
|
}
|