mirror of
https://github.com/pocketbase/pocketbase.git
synced 2024-11-21 13:35:49 +02:00
17 lines
389 B
Go
17 lines
389 B
Go
package models
|
|
|
|
var _ Model = (*ExternalAuth)(nil)
|
|
|
|
type ExternalAuth struct {
|
|
BaseModel
|
|
|
|
CollectionId string `db:"collectionId" json:"collectionId"`
|
|
RecordId string `db:"recordId" json:"recordId"`
|
|
Provider string `db:"provider" json:"provider"`
|
|
ProviderId string `db:"providerId" json:"providerId"`
|
|
}
|
|
|
|
func (m *ExternalAuth) TableName() string {
|
|
return "_externalAuths"
|
|
}
|