Skip to main content

Database schema migration tool using SQL and DB-API

Project description

Yoyo is a Python database schema migration tool. You write migrations as Python scripts containing raw SQL statements or Python functions.

What does yoyo-migrations do?

As your database applications evolves, changes to the database schema may be required. Yoyo lets you write migration scripts in Python containing SQL statements to migrate your database schema. A simple migration script looks like this:

Yoyo manages these database migration scripts, gives you command line tools to apply and rollback migrations, and manages dependencies between migrations.

Database support

PostgreSQL, MySQL and SQLite databases are supported. ODBC and Oracle backends are available (but unsupported).

Documentation and code

Yoyo migrations documentation | Repository

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

yoyo_migrations-5.1.0-py2-none-any.whl (42.1 kB view details)

Uploaded Python 2

File details

Details for the file yoyo_migrations-5.1.0-py2-none-any.whl.

File metadata

File hashes

Hashes for yoyo_migrations-5.1.0-py2-none-any.whl
Algorithm Hash digest
SHA256 10aae146e243a7921c1dcb3d425a9ffdf7cdc7d207b25a6c6af3ecc1f7c1798b
MD5 c672592bf1e83c69e7b4dcb23929205e
BLAKE2b-256 37b14ab39e2faad5ac4af2daf83ed9cd60c32f1f2a46b9830a230700625797b4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page