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

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
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