-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathsqlc.yaml
40 lines (40 loc) · 1.21 KB
/
sqlc.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
version: "2"
sql:
- schema: "db/migrations"
queries: "db/queries"
engine: "postgresql"
gen:
go:
out: "pkg/stores/models"
sql_package: "pgx/v5"
overrides:
- db_type: "uuid"
go_type: "github.com/google/uuid.UUID"
- column: "games.timers"
go_type:
import: "github.com/woogles-io/liwords/pkg/entity"
type: "Timers"
- column: "games.stats"
go_type:
import: "github.com/woogles-io/liwords/pkg/entity"
type: "Stats"
- column: "games.quickdata"
go_type:
import: "github.com/woogles-io/liwords/pkg/entity"
type: "Quickdata"
- column: "games.tournament_data"
go_type:
import: "github.com/woogles-io/liwords/pkg/entity"
type: "TournamentData"
- column: "games.meta_events"
go_type:
import: "github.com/woogles-io/liwords/pkg/entity"
type: "MetaEventData"
- column: "games.request"
go_type:
import: "github.com/woogles-io/liwords/pkg/entity"
type: "GameRequest"
- column: "games.game_request"
go_type:
import: "github.com/woogles-io/liwords/pkg/entity"
type: "GameRequest"