iCreatAI News
Skip to content
Hacker News AI· acossa·· 1 days agoAI score34

Go-migrate – SQL migrations with one-use approvals for AI agents

Go-migrate – SQL migrations with one-use approvals for AI agents

AI summary

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.

Source: Hacker News AI · github.com