mirror of
https://github.com/J3vb/OwnCord.git
synced 2026-09-03 03:50:00 +03:00
PostgresStore was 86% stubs behind a build tag nothing enables, pgdbgen carried hand-added build tags that fought sqlc-verify, and the runtime never threaded store.Store through the handler boundary. Single-engine reality shrinks the W1-3 attachment-ownership fix and ends the pgdbgen churn. Removed: store/postgres.go, db/pgdbgen/, db/queries/postgres/, migrations/postgres/, the sqlc postgres block, pgx from go.mod, the startup-refusal branch, and the dead Postgres config surface. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
19 lines
642 B
YAML
19 lines
642 B
YAML
version: "2"
|
|
sql:
|
|
# ── SQLite backend ────────────────────────────────────────────────────────
|
|
- engine: "sqlite"
|
|
queries: "db/queries/sqlite"
|
|
schema: "migrations"
|
|
gen:
|
|
go:
|
|
package: "dbgen"
|
|
out: "db/dbgen"
|
|
sql_package: "database/sql"
|
|
emit_interface: true
|
|
emit_pointers_for_null_types: true
|
|
emit_prepared_queries: false
|
|
emit_exact_table_names: false
|
|
emit_empty_slices: true
|
|
emit_json_tags: true
|
|
json_tags_case_style: "camel"
|