-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathsqlc.yaml
More file actions
40 lines (40 loc) · 1.17 KB
/
sqlc.yaml
File metadata and controls
40 lines (40 loc) · 1.17 KB
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:
- engine: "postgresql"
queries: "./internal/db/"
schema: "./db/migrations/"
gen:
go:
package: "sqlc"
out: "internal/db"
sql_package: "pgx/v5"
emit_prepared_queries: true
emit_interface: false
emit_exact_table_names: false
emit_empty_slices: false
emit_json_tags: false
overrides:
- column: "sending_pool_emails.fields"
go_type:
type: "CustomFields"
- column: "sending_pool_emails.status"
go_type:
type: "SendingPoolStatus"
- column: "messages.attachments"
go_type:
type: "Attachments"
- column: "messages.headers"
go_type:
type: "Headers"
- column: "stats.type"
go_type:
type: "StatsType"
- column: "aggregated_stats.type"
go_type:
type: "StatsType"
- column: "stats.data"
go_type:
import: "github.com/kannon-email/kannon/proto/kannon/stats/types"
type: "StatsData"
package: pbtypes
pointer: true