Files
phylum/sqlc.yml
Abhishek Shroff 8f473f8a22 Storage Backends
2024-03-14 07:40:55 +05:30

24 lines
625 B
YAML

version: "2"
sql:
- engine: "postgresql"
queries: "sql/queries"
schema: "sql/migrations"
gen:
go:
package: "sql"
out: "internal/sql"
sql_package: "pgx/v5"
overrides:
- db_type: "uuid"
go_type:
import: "github.com/google/uuid"
type: "UUID"
- db_type: "uuid"
nullable: true
go_type:
import: "github.com/google/uuid"
type: "UUID"
pointer: true
- column: "storage_backends.params"
go_type:
type: "map[string]string"