mirror of
https://github.com/onsonr/hway.git
synced 2025-03-10 13:07:09 +00:00
27 lines
653 B
YAML
27 lines
653 B
YAML
|
version: "2"
|
||
|
sql:
|
||
|
- engine: "sqlite"
|
||
|
queries: "./sink/vault/query.sql"
|
||
|
schema: "./sink/vault/schema.sql"
|
||
|
gen:
|
||
|
go:
|
||
|
emit_interface: true
|
||
|
emit_json_tags: true
|
||
|
package: "motrorm"
|
||
|
out: "motrorm"
|
||
|
|
||
|
- engine: "postgresql"
|
||
|
queries: "./sink/highway/query.sql"
|
||
|
schema: "./sink/highway/schema.sql"
|
||
|
gen:
|
||
|
go:
|
||
|
emit_all_enum_values: true
|
||
|
emit_enum_valid_method: true
|
||
|
emit_json_tags: true
|
||
|
emit_interface: true
|
||
|
emit_result_struct_pointers: true
|
||
|
omit_unused_structs: true
|
||
|
package: "hwayorm"
|
||
|
out: "hwayorm"
|
||
|
sql_package: "pgx/v5"
|