Add configuration files, database migrations, and authentication implementation scaffolding
This commit is contained in:
29
internal/db/sqlc/models.go
Normal file
29
internal/db/sqlc/models.go
Normal 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"`
|
||||
}
|
||||
Reference in New Issue
Block a user