1
0
mirror of https://github.com/pocketbase/pocketbase.git synced 2024-12-01 02:56:49 +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"
}