Who it is forA developer who needs to know how staging differs from production before a release.
The problemSpotting schema drift across environments by reading DDL is tedious and easy to miss.
The outcomeA schema diff across two connections, a data comparison, and a data transfer when you choose to sync.
What you need first
- macOS, Windows or Linux desktop, Docker for team access, or the web version
- An AI provider for the SQL assistant: Claude, OpenAI or a local model via Ollama
- Node.js (npx) for the MCP server
Steps
- Connect both databases in DBX, using an SSH tunnel if needed
- Open Schema diff to compare structures across the two connections
- Use Data compare to review differences in a table's rows and the synchronization output
- Use Data transfer to migrate data between databases, or Database export for a full dump first
- Review the ER diagram of the target to confirm relationships
Prompt for your agent
Using t8y2/dbx, run a schema diff between <staging> and <production>, summarize every difference, and draft the migration I would need. Export a full dump of the target before suggesting any data transfer.
Caveat.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for t8y2/dbx and "Compare schemas and move data between databases"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer