1
0
mirror of https://github.com/pocketbase/pocketbase.git synced 2024-11-24 17:07:00 +02:00
pocketbase/models/admin.go
2022-07-07 00:19:05 +03:00

14 lines
179 B
Go

package models
var _ Model = (*Admin)(nil)
type Admin struct {
BaseAccount
Avatar int `db:"avatar" json:"avatar"`
}
func (m *Admin) TableName() string {
return "_admins"
}