alt/services/worker/internal/storage/postgres/sqlc/models.go
toki f762d2abd9 feat: worker persistence layer and socket session updates
- Add worker storage layer with PostgreSQL/sqlc setup
- Add migration files for worker backbone schema
- Add job runner and built-in jobs implementation
- Add Redis key definitions for worker state management
- Archive socket-session-loop milestone (completed/renamed)
- Update roadmap current.md and foundation-alignment phase
- Add socket endpoint integration and runtime smoke tests
- Add infra-check, worker-storage-check, worker-storage-gen CLI tools
- Update API socket server and config
- Add pubspec dependencies and client socket endpoint changes
- Add config tests for API and worker services
2026-05-28 19:05:10 +09:00

42 lines
816 B
Go

// Code generated by sqlc. DO NOT EDIT.
// versions:
// sqlc v1.27.0
package sqlc
import (
"github.com/jackc/pgx/v5/pgtype"
)
type BacktestRun struct {
ID string
StrategyID string
Market string
Timeframe string
FromTime pgtype.Timestamptz
ToTime pgtype.Timestamptz
Status string
CreatedAt pgtype.Timestamptz
UpdatedAt pgtype.Timestamptz
}
type Bar struct {
InstrumentID string
Timeframe string
Timestamp pgtype.Timestamptz
Open pgtype.Numeric
High pgtype.Numeric
Low pgtype.Numeric
Close pgtype.Numeric
Volume pgtype.Numeric
}
type Instrument struct {
ID string
Market string
Venue string
Symbol string
Name string
Currency string
ProviderSymbols []byte
}