Files
Primora/apps/backend/sqlc.yaml
T
2026-04-10 12:03:31 +02:00

28 lines
678 B
YAML

version: "2"
sql:
- engine: "postgresql"
schema:
- "db/migrations"
queries:
- "db/queries"
gen:
go:
package: "db"
out: "internal/database/db"
sql_package: "pgx/v5"
emit_interface: true
emit_json_tags: true
emit_pointers_for_null_types: true
overrides:
- db_type: "uuid"
go_type:
import: "github.com/google/uuid"
type: "UUID"
- db_type: "core.org_role"
go_type: "string"
- db_type: "core.project_role"
go_type: "string"
- db_type: "core.bucket_visibility"
go_type: "string"