sqldef is a schema migration tool that automatically generates SQL migration statements by comparing database schemas. Instead of writing migrations manually, developers define the desired schema, and sqldef computes the difference. It's compatible with MySQL, PostgreSQL, SQLite, and others, making migrations safer and more maintainable.
Features
- Auto-generates schema migration SQL
- Supports MySQL, PostgreSQL, SQLite, and more
- Declarative schema definitions in SQL files
- Detects drift between schema and database
- CLI tool with diff and apply commands
- Prevents destructive migrations without confirmation
Categories
SQL ClientsLicense
MIT LicenseFollow sqldef
You Might Also Like
Gen AI apps are built with MongoDB Atlas
MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of sqldef!