Created a base to build on

This commit is contained in:
2025-12-22 21:19:31 +01:00
parent a1e33bd403
commit 47a9719eeb
20 changed files with 1590 additions and 0 deletions

29
internal/db/models.go Normal file
View File

@@ -0,0 +1,29 @@
// Code generated by sqlc. DO NOT EDIT.
// versions:
// sqlc v1.30.0
package db
import (
"github.com/jackc/pgx/v5/pgtype"
)
type Game struct {
ID int64
Name string
PlatformID int64
Score int32
ReleaseYear pgtype.Date
Finished pgtype.Date
}
type Platform struct {
ID int64
Name string
}
type User struct {
ID int64
Name string
Bio pgtype.Text
}