Skip to main content

Database migrations with SQL

Project description

Yoyo-migrations is a database schema migration tool. Database migrations can be written as SQL files or Python scripts.

What does yoyo-migrations do?

As your database application evolves, changes to the database schema may be required. Yoyo lets you write migration scripts in raw SQL or Python containing SQL statements to migrate your database schema to a new version.

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 database backends are available (but unsupported).

Project details


Download files

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

Files for yoyo-migrations, version 7.3.2
Filename, size File type Python version Upload date Hashes
Filename, size yoyo_migrations-7.3.2-py3-none-any.whl (39.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size yoyo-migrations-7.3.2.tar.gz (44.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page