Add configuration files, database migrations, and authentication implementation scaffolding

This commit is contained in:
Sebastian Unterschütz
2026-04-30 19:08:07 +02:00
commit 331d60581e
83 changed files with 222264 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
// Code generated by sqlc. DO NOT EDIT.
// versions:
// sqlc v1.30.0
package sqlc
import (
"database/sql"
"time"
"github.com/google/uuid"
)
type EncryptedLog struct {
ID uuid.UUID `json:"id"`
LogType string `json:"log_type"`
CreatedAt sql.NullTime `json:"created_at"`
EncryptedPayload []byte `json:"encrypted_payload"`
BlindIndexHash sql.NullString `json:"blind_index_hash"`
ServerID string `json:"server_id"`
SessionID sql.NullString `json:"session_id"`
}
type Telemetry struct {
Timestamp time.Time `json:"timestamp"`
CommunityID string `json:"community_id"`
ServerFps float64 `json:"server_fps"`
PlayerCount int32 `json:"player_count"`
}