nomadcode/services/core/sqlc.yaml
toki 11490df648 chore: import nomadcode-core into services/core
git-subtree-dir: services/core
git-subtree-mainline: 6f5e3a119f
git-subtree-split: 6fdbc73753
2026-05-21 13:35:20 +09:00

23 lines
543 B
YAML

version: "2"
sql:
- engine: postgresql
schema: migrations
queries: queries
gen:
go:
package: db
out: internal/db
sql_package: pgx/v5
emit_json_tags: true
emit_pointers_for_null_types: true
overrides:
- db_type: uuid
go_type: string
- db_type: jsonb
go_type:
import: encoding/json
type: RawMessage
- db_type: timestamptz
go_type:
import: time
type: Time