Help us shape the future of Go! Take the 2026 Go Developer Survey

atlas/

directory
v1.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 23, 2026 License: Apache-2.0

README

Atlas runtime extensions

sqlserver supplies the SQL Server Atlas driver, HCL codec, inspection and connection management. Pure SQL generation remains in migrate/atlas/sqlserver. Raw catalog SQL lives in database/inspect/catalog/sqlserver and is shared with the catalog and complete snapshot inspectors.

internal/sqlx and internal/specutil originate from Atlas v0.38.0 internal packages, which external modules cannot import. Local changes adapt imports, preserve errors and support the SQL Server codec. Retain these changes when updating the upstream baseline. Apache-2.0 headers, attribution and license are preserved in NOTICE and LICENSE.atlas.

To inspect the upstream baseline without overwriting local changes:

ATLAS="$(go env GOMODCACHE)/ariga.io/atlas@$(go list -m -f '{{.Version}}' ariga.io/atlas)"
diff -u "$ATLAS/sql/internal/sqlx/diff.go" database/atlas/internal/sqlx/diff.go
diff -u "$ATLAS/sql/internal/specutil/convert.go" database/atlas/internal/specutil/convert.go
GOWORK=off go test ./database/atlas/...

When updating Atlas, compare all helper files, review the local changes and update the attribution version. Run both pure planner and runtime driver tests. commons-db's atlas/sqlserver package is a compatibility shim and must not acquire a second driver registration.

Directories

Path Synopsis
internal
Package sqlserver is an Atlas driver for Microsoft SQL Server.
Package sqlserver is an Atlas driver for Microsoft SQL Server.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL