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
Try Google Cloud Risk-Free With $300 in Credit Icon
Try Google Cloud Risk-Free With $300 in Credit

No hidden charges. No surprise bills. Cancel anytime.

Use your credit across every product. Compute, storage, AI, analytics. When it runs out, 20+ products stay free. You only pay when you choose to.
Start 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