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