You've already forked pocketbase
mirror of
https://github.com/pocketbase/pocketbase.git
synced 2025-11-30 17:15:36 +02:00
14 lines
179 B
Go
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"
|
||
|
|
}
|