[SLOYD] Add playground
This commit is contained in:
parent
752b4f5e78
commit
3339977a6c
1 changed files with 19 additions and 0 deletions
19
models/playground/player.go
Normal file
19
models/playground/player.go
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
package playground
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"code.gitea.io/gitea/models/db"
|
||||
)
|
||||
|
||||
type Player struct {
|
||||
ID int64 `xorm:"pk autoincr"`
|
||||
}
|
||||
|
||||
func createPlayer(ctx context.Context, p *Player) (err error) {
|
||||
return err
|
||||
}
|
||||
|
||||
func init() {
|
||||
db.RegisterModel(new(Player))
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue