rhythm-backend/sqlc.yaml
2026-04-21 09:59:37 +02:00

32 lines
673 B
YAML

version: "2"
cloud:
organization: ""
project: ""
hostname: ""
servers: []
sql:
- engine: 'postgresql'
schema: 'migrations/*.sql'
queries: 'internal/db/users/queries.sql'
gen:
go:
package: "usersdb"
out: "internal/db/users"
sql_package: "pgx/v5"
emit_json_tags: false
emit_interface: true
overrides:
- db_type: "uuid"
go_type:
import: "github.com/google/uuid"
type: "UUID"
- db_type: "timestamptz"
go_type:
import: "time"
type: "Time"
overrides:
go: null
plugins: []
rules: []
options: {}