go-migrate v1.0.1 released, supporting one-time approval for AI Agents
Understand this story
Go-Gen-Ecosystem has released go-migrate v1.0.1, a versioned SQL migration tool for AI agents that supports PostgreSQL, MySQL/MariaDB, SQLite, SQL Server, Oracle Database, and IBM Db2 LUW. It can run as a standalone CLI or be embedded in Go applications. The core mechanism of this version is: preview the SQL first, require a plan ID at deployment time, and verify under the migration lock that the plan matches the database and schema. A matching request consumes the authorization before opening a database connection, even if the attempt fails or is canceled. To override lint errors, two conditions must both be met: the operator uses --allow-lint-errors on the apply authorization, and the client sets allow_lint_errors: true.
AI overview based on source reports · Updated 1 days ago
Coverage timeline
Follow the coverage to explore different perspectives.
- Hacker News AIGo-migrate – SQL migrations with one-use approvals for AI agents
go-migrate is a standalone CLI and embeddable Go library for versioned SQL migrations supporting PostgreSQL, MySQL/MariaDB, SQLite, SQL Server, Oracle Database and IBM Db2 LUW. It adds reviewed-plan approvals: `--expect-plan` (CLI) and `plan_id` (MCP) verify the plan, database and schema under the migration lock before applying, failing with `plan_changed` otherwise. It also offers offline SQL linting, checksum drift detection, cross-process locking and a bundled MCP server for AI agents.
Activity for this story
- Current comparable activity
- 5
- Peak comparable activity
- 10Nov 19 21:00
- Change in the past 24 hours
- –
Trends compare the same fully observed participants, which may cover fewer participants than current activity. Move the pointer or tap the chart to inspect hourly activity; use the left and right arrow keys with a keyboard.