forked from thangchung/go-coffeeshop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sqlc.yaml
28 lines (26 loc) · 838 Bytes
/
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
version: "2"
sql:
- engine: "postgresql"
queries: "internal/counter/infras/postgresql/query/query.sql"
schema: "db/migrations/000001_init_counterdb.up.sql"
gen:
go:
package: "postgresql"
out: "internal/counter/infras/postgresql"
emit_json_tags: true
- engine: "postgresql"
queries: "internal/kitchen/infras/postgresql/query/query.sql"
schema: "db/migrations/000003_init_kitchendb.up.sql"
gen:
go:
package: "postgresql"
out: "internal/kitchen/infras/postgresql"
emit_json_tags: true
- engine: "postgresql"
queries: "internal/barista/infras/postgresql/query/"
schema: "db/migrations/000002_init_baristadb.up.sql"
gen:
go:
package: "postgresql"
out: "internal/barista/infras/postgresql"
emit_json_tags: true