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

Project Samples

Project Activity

See All Activity >

Categories

SQL Clients

License

MIT License

Follow sqldef

sqldef Web Site

Other Useful Business Software
Go from Code to Production URL in Seconds Icon
Go from Code to Production URL in Seconds

Cloud Run deploys apps in any language instantly. Scales to zero. Pay only when code runs.

Skip the Kubernetes configs. Cloud Run handles HTTPS, scaling, and infrastructure automatically. Two million requests free per month.
Try it free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of sqldef!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Go

Related Categories

Go SQL Clients

Registered

2025-06-05