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
Build Securely on AWS with Proven Frameworks Icon
Build Securely on AWS with Proven Frameworks

Lay a foundation for success with Tested Reference Architectures developed by Fortinet’s experts. Learn more in this white paper.

Moving to the cloud brings new challenges. How can you manage a larger attack surface while ensuring great network performance? Turn to Fortinet’s Tested Reference Architectures, blueprints for designing and securing cloud environments built by cybersecurity experts. Learn more and explore use cases in this white paper.
Download Now
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