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
Other Useful Business Software
Train ML Models With SQL You Already Know
Build and deploy ML models using familiar SQL. Automate data prep with built-in Gemini. Query 1 TB and store 10 GB free monthly.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of sqldef!