-
Notifications
You must be signed in to change notification settings - Fork 1
/
sqlc.yaml
44 lines (44 loc) · 1.32 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
version: "2"
sql:
- schema: "./db/migrations/"
queries: "./db/queries/"
engine: "mysql"
gen:
go:
package: "db"
out: "db"
emit_json_tags: true
json_tags_case_style: camel
overrides:
- column: program.json
go_struct_tag: json:"-"
- column: program.event_id
go_struct_tag: json:"eventId"
- column: program.service_id
go_struct_tag: json:"serviceId"
- column: program.network_id
go_struct_tag: json:"networkId"
- column: program.genre_json
go_struct_tag: json:"-"
- column: program.extends_json
go_struct_tag: json:"-"
- column: program.genre
go_struct_tag: json:"-"
- column: program.created_at
go_struct_tag: json:"-"
- column: program.updated_at
go_struct_tag: json:"-"
- column: service.service_id
go_struct_tag: json:"serviceId"
- column: service.network_id
go_struct_tag: json:"networkId"
- column: service.remote_control_key_id
go_struct_tag: json:"remoteControlKeyId"
- column: service.channel_type
go_struct_tag: json:"-"
- column: service.channel
go_struct_tag: json:"-"
- column: service.created_at
go_struct_tag: json:"-"
- column: service.updated_at
go_struct_tag: json:"-"