initial, copy postgres stuff for migrations, main.go test

This commit is contained in:
2026-09-04 21:11:41 +02:00
parent 506df87f84
commit 090cc0f00d
14 changed files with 863 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
# sqlc.yaml
version: "2"
sql:
- engine: "postgresql"
queries: "queries"
schema:
- "migrations/002_types.sql"
- "migrations/003_core.sql"
- "migrations/004_api.sql"
- "migrations/005_logbook.sql"
gen:
go:
package: "db"
out: "internal/db"
sql_package: "pgx/v5"
emit_pointers_for_null_types: true