tijl.dev-core/internal/queries/models.go
tijl 7e1c36c966
Some checks failed
build / build (push) Successful in 41s
release-tag / release-image (push) Has been cancelled
changes + add uploader
2024-08-29 12:21:38 +02:00

89 lines
1.5 KiB
Go

// Code generated by sqlc. DO NOT EDIT.
// versions:
// sqlc v1.25.0
package queries
import (
"database/sql"
"time"
"github.com/google/uuid"
)
type AppFlagsGame struct {
GameID uuid.UUID
GameSeed uuid.UUID
Uid sql.NullString
Tags []string
Seconds int32
QuestionAmount int32
QuestionCurrent int32
QuestionsErrors int32
CreatedAt time.Time
LastActivity time.Time
}
type AppFlagsGamesAnswer struct {
GameID uuid.UUID
Question int32
Errors int32
CreatedAt time.Time
}
type AppFlagsGamesSharedDatum struct {
ID int32
Uid string
ShareKey string
GameSeed uuid.UUID
Questions int32
Tags []string
Seconds int32
CreatedAt time.Time
}
type AppUploaderFile struct {
ID uuid.UUID
Uid string
FileCrypto string
CreatedAt time.Time
Expire time.Time
MaxVisits int32
}
type AppUploaderFilesAccess struct {
FileID uuid.UUID
Uid sql.NullString
IpAddress string
Agent string
AccessTime time.Time
}
type Session struct {
ID int32
Uid string
Token string
Expires sql.NullTime
LastActivity time.Time
CreatedAt time.Time
}
type SessionIp struct {
ID int32
SessionID int32
IpAddress string
Agent string
AccessTime time.Time
}
type User struct {
ID int32
Uid string
Email string
EmailVerified bool
FullName string
Username string
CreatedAt time.Time
UpdatedAt time.Time
}