1
0
mirror of https://github.com/pocketbase/pocketbase.git synced 2024-12-12 13:25:36 +02:00
pocketbase/models/admin.go

14 lines
179 B
Go
Raw Normal View History

2022-07-06 23:19:05 +02:00
package models
var _ Model = (*Admin)(nil)
type Admin struct {
BaseAccount
Avatar int `db:"avatar" json:"avatar"`
}
func (m *Admin) TableName() string {
return "_admins"
}