Database automation
that doesn't get in your way

Manage your database structure and data via automation using pure SQL scripts. No magic, no ORM lock-in. Version control your schema changes with plain .sql files and deploy to MySQL, PostgreSQL, or Microsoft SQL Server. Works with your existing workflow—whether it's a legacy codebase or a modern CI/CD pipeline.

Everything you need for database migrations

Powerful features that make managing database changes simple and reliable

Pure SQL

Write migrations in plain SQL files. No ORM lock-in, no abstractions. Just the power and flexibility of SQL you already know.

Easy Integration

Seamlessly integrate with your existing workflow. Works with any build tool, CI/CD pipeline, or deployment strategy.

Multiple Environments

Manage different environments with ease. Deploy to dev, staging, and production with confidence using environment-specific configurations.

Dynamic Replacements

Use variables and dynamic replacements in your migrations. Perfect for handling environment-specific values and configurations.

Flexible Credentials

Store credentials securely or pass them at runtime. Support for environment variables, config files, and command-line arguments.

CI/CD Ready

Built for automation. Run migrations in your CI/CD pipeline with simple commands and zero interaction required.

Scripts Support

Run custom SQL scripts for data migrations, maintenance tasks, or one-off operations. Full control when you need it.

Multi-Project

Manage multiple database projects from one place. Perfect for microservices or multi-tenant applications.

Supports the databases you use

Works seamlessly with all major SQL databases

MySQL™

PostgreSQL™

Microsoft SQL Server™

Download

Download the desktop application or use the CLI tool

Prefer the command line?

Both SQL Migration Tool Desktop and 2am-smt CLI are licensed under MIT