Skip to content

Commit d9d4b35

Browse files
authored
[codex] harden db addon (#429)
* harden db addon * fix(db): address migration review feedback
1 parent e726ec1 commit d9d4b35

17 files changed

Lines changed: 1375 additions & 8 deletions

addons/db/db.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
// Package db is the GOWDK database plumbing addon. It enables the db feature and
22
// ships a thin, driver-agnostic helper for opening a *sql.DB on top of the
3-
// standard library's database/sql. It is designed to pair with sqlc: you own
4-
// the schema, the queries, the generated models, and all domain logic. GOWDK
5-
// owns none of that and adds no driver, ORM, or query opinions.
3+
// standard library's database/sql. It is designed to pair with sqlc and
4+
// user-authored SQL files: you own the schema, the queries, the generated
5+
// models, migrations, and all domain logic. GOWDK owns none of that and adds no
6+
// driver, ORM, repository, or query opinions.
67
//
78
// The helper imports no SQL driver. Your application registers a driver with a
89
// blank import (for example _ "github.com/jackc/pgx/v5/stdlib") and passes its

0 commit comments

Comments
 (0)