Swap test-only blank driver imports (modernc.org/sqlite, mattn/go-sqlite3)
to _ "github.com/hanzoai/sqlite", which registers the "sqlite" database/sql
driver name under both cgo and pure-Go builds. Dedupe the two files that
imported both drivers. dialects/dialect.go already aliases "sqlite" to the
sqlite3 dialect, so no dialect changes are needed. Non-test code is
driver-agnostic. go build ./... green.
Co-authored-by: hanzo-dev <dev@hanzo.ai>
Replace the working tree with the exact contents of upstream
xorm.io/xorm v1.4.1, applying ONLY:
- import-path rename xorm.io/xorm -> github.com/hanzoai/xorm
- import-path rename xorm.io/builder -> github.com/hanzoai/builder
- module line -> github.com/hanzoai/builder consumer
- NOTICE provenance (Hanzo AI + upstream Xorm Authors, BSD-3-Clause)
Non-test .go is byte-identical to upstream after normalizing the import
paths back, so schema Sync (columnTypesMatch/columnDefaultsMatch), the
PostgreSQL GetColumns introspection, and the context hook Ctx writeback
match upstream exactly. The prior fork content predated v1.4.1 and is
superseded; published as immutable v1.4.2.