Skip to content
SPECIFICTION
Get listed

sqlx-cli vs yoyo-migrations

sqlx-cli

github.com

yoyo-migrations

ollycope.com

Side by side

Figuresqlx-cliyoyo-migrations
Price fromFree—
Free planYes—
Free trial——
Open source——
WindowsYes—
macOSYes—
LinuxYes—
Self-hosted—Yes
Plans published10
Spec score · Database Migration Tools8.0 (#11)6.6 (#30)
InstallationThe CLI can be installed with `cargo install sqlx-cli`.The documentation instructs users to install yoyo-migrations from PyPI with pip.
LicenseThe SQLx repository lists Apache-2.0 and MIT license files.PyPI lists the license as Apache Software License (Apache).
PurposeSQLx CLI is a command-line utility for managing databases and migrations and enabling offline mode for SQLx query macros.Yoyo is a database schema migration tool whose migrations are SQL files or Python scripts.
SupportThe SQLx repository links to its FAQ and Discord community for questions.The project documentation directs users to its issue tracker and mailing list for issues, questions, and suggestions.

Plans

sqlx-cli

  • sqlx-cliFree

sqlx-cli pricing →

yoyo-migrations

No plans published.

yoyo-migrations pricing →

In their own words

sqlx-cli

sqlx-cli is SQLx’s command-line utility for managing databases, migrations, and offline preparation for query macros. It can create or drop the database identified by a database URL, and create, run, inspect, or revert migrations, including paired up and down scripts. The `cargo sqlx prepare` command writes query metadata to a `.sqlx` directory. Once that metadata is checked into version control, builds can run without an active database connection. The `--check` option returns a nonzero status if the saved metadata is out of date, a behavior the project describes for continuous integration.

For workspaces whose crates use query macros, `cargo sqlx prepare --workspace` places one `.sqlx` directory at the workspace root. Commands accept the database URL through `--database-url`, the `DATABASE_URL` environment variable, or a `.env` file in the current directory. The project lists PostgreSQL, MySQL, MariaDB, and SQLite support, with installation options for database drivers and TLS backends. The CLI is free and open source under the user’s choice of Apache-2.0 or MIT license. The README notes that MSSQL support was removed pending a full driver rewrite.

Visit github.com

yoyo-migrations

yoyo-migrations has no write-up on Specifiction yet; its figures are above.

Visit ollycope.com