feat: add sqlc config file
This commit is contained in:
parent
945e3be683
commit
2dd5f6fa60
1 changed files with 15 additions and 0 deletions
15
internal/store/pgstore/sqlc.yaml
Normal file
15
internal/store/pgstore/sqlc.yaml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
version: "2"
|
||||
sql:
|
||||
- engine: "postgresql"
|
||||
queries: "./queries"
|
||||
schema: "./migrations"
|
||||
gen:
|
||||
go:
|
||||
out: "."
|
||||
package: "pgstore"
|
||||
sql_package: "pgx/v5"
|
||||
overrides:
|
||||
- db_type: "uuid"
|
||||
go_type:
|
||||
import: "github.com/google/uuid"
|
||||
type: "UUID"
|
||||
Loading…
Reference in a new issue