aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend/db/models.go
blob: a54fd8c3a6a52c383da43db4237231fc62a068b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Code generated by sqlc. DO NOT EDIT.
// versions:
//   sqlc v1.26.0

package db

import (
	"github.com/jackc/pgx/v5/pgtype"
)

type Game struct {
	GameID    int32
	Type      string
	CreatedAt pgtype.Timestamp
	State     string
}

type User struct {
	UserID      int32
	Username    string
	DisplayName string
	IconPath    pgtype.Text
	IsAdmin     bool
	CreatedAt   pgtype.Timestamp
}

type UserAuth struct {
	UserAuthID   int32
	UserID       int32
	AuthType     string
	PasswordHash pgtype.Text
}