chore: initial commit

This commit is contained in:
2026-07-22 17:50:33 +08:00
parent 82936a8987
commit ee9f50b859
107 changed files with 8346 additions and 0 deletions

22
sqlc.yaml Normal file
View File

@@ -0,0 +1,22 @@
version: "2"
sql:
- engine: "postgresql"
queries: "./internal/db/query/*"
schema: "./internal/db/schema/*"
gen:
go:
package: "db"
out: "./internal/db/sqlc"
emit_empty_slices: true
emit_interface: false
sql_package: "pgx/v5"
emit_json_tags: true
emit_pointers_for_null_types: true
overrides:
- db_type: "timestamptz"
go_type:
type: "time.Time"
- db_type: "timestamptz"
nullable: true
go_type:
type: "*time.Time"