2 Commits
Author SHA1 Message Date
5f67d49ab3 feat(tests): migrate SQLite driver to github.com/hanzoai/sqlite (#2)
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>
2026-07-17 23:17:52 -07:00
Hanzo Dev cf328abfb6 re-fork from upstream xorm.io/xorm v1.4.1 (421cdc36)
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.
2026-07-17 18:33:52 -07:00