-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathsqlc.yaml
More file actions
27 lines (27 loc) · 778 Bytes
/
sqlc.yaml
File metadata and controls
27 lines (27 loc) · 778 Bytes
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
version: "2"
sql:
- schema:
- "db/migrations"
- "db/mock_schemas"
queries: "db/queries"
engine: "postgresql"
gen:
go:
out: "internal/stores/models"
sql_package: "pgx/v5"
overrides:
- db_type: "uuid"
go_type: "github.com/google/uuid.UUID"
- column: "wordvault_params.params"
go_type:
import: "github.com/open-spaced-repetition/go-fsrs/v3"
type: "Parameters"
- column: "wordvault_cards.fsrs_card"
go_type:
import: "github.com/domino14/word_db_server/internal/stores"
type: "Card"
- column: "wordvault_cards.review_log"
go_type:
import: "github.com/domino14/word_db_server/internal/stores"
type: "ReviewLog"
slice: true