refactor: move sqlc files into internal/db/sqlc directory

This commit is contained in:
2026-05-01 12:54:36 +07:00
parent 3185dd09f3
commit e863bc7f10
9 changed files with 1 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
version: "2"
sql:
- engine: "postgresql"
queries: "queries"
schema: "migrations"
gen:
go:
package: "repository"
out: "repository"
sql_package: "pgx/v5"
overrides:
- db_type: "uuid"
go_type:
import: "github.com/google/uuid"
type: "UUID"
- db_type: "uuid"
go_type:
import: "github.com/google/uuid"
type: "UUID"
pointer: true
nullable: true
- db_type: "timestamptz"
go_type:
type: "*time.Time"
pointer: true
nullable: true