-
Notifications
You must be signed in to change notification settings - Fork 0
/
sqlc.yaml
executable file
·46 lines (45 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
41
42
43
44
45
46
version: "2"
sql:
- engine: "postgresql"
queries: "./db/sql/query"
schema: "./db/sql/migration"
gen:
go:
package: "db"
out: "./db/sql/sqlc"
emit_json_tags: true
emit_empty_slices: true
emit_enum_valid_method: true
overrides:
- column: progress.progress_value
go_type:
type: "int64"
pointer: true
- column: progress.range_value
go_type:
type: "string"
pointer: true
- column: progress.progress_no
go_type:
type: "int32"
pointer: true
- column: charts.progress_name
go_type:
type: "string"
pointer: true
- column: charts.range_type
go_type:
type: "string"
pointer: true
- column: charts.colors
go_type:
type: "string"
pointer: true
- column: charts.chart_type
go_type:
type: "string"
pointer: true
- column: charts.bar_chart_type
go_type:
type: "string"
pointer: true