update sqlc ver 2
This commit is contained in:
parent
1a6ea59e92
commit
8e132dbdcd
16
sqlc.yaml
16
sqlc.yaml
@ -1,10 +1,12 @@
|
|||||||
version: "1"
|
version: "2"
|
||||||
packages:
|
sql:
|
||||||
- name: "db"
|
- engine: "postgresql"
|
||||||
path: "./db/sqlc"
|
queries: "./db/queries"
|
||||||
queries: "./db/queries/"
|
schema: "./db/migrations"
|
||||||
schema: "./db/migrations/"
|
gen:
|
||||||
engine: "postgresql"
|
go:
|
||||||
|
package: "db"
|
||||||
|
out: "./db/sqlc"
|
||||||
emit_json_tags: true
|
emit_json_tags: true
|
||||||
emit_prepared_queries: false
|
emit_prepared_queries: false
|
||||||
emit_interface: true
|
emit_interface: true
|
||||||
|
Loading…
Reference in New Issue
Block a user