skeleton/internal/database/sqlc.yaml

16 lines
317 B
YAML
Raw Normal View History

2020-07-19 14:08:18 +02:00
version: "1"
packages:
- name: "database"
path: "./"
schema: "./sql/schema"
queries: "./sql/queries"
emit_json_tags: true
emit_interface: true
overrides:
- db_type: "citext"
"null": false
go_type: "string"
- db_type: "citext"
"null": true
go_type: "database/sql.NullString"