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).

Documentation and code

Yoyo migrations documentation | Repository and issue tracker

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-9.0.0-py3-none-any.whl (49.0 kB view details)

Uploaded Python 3

File details

Details for the file yoyo_migrations-9.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for yoyo_migrations-9.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fc65d3a6d9449c1c54d64ff2ff98e32a27da356057c60e3471010bfb19ede081
MD5 8dd833dbf3ef620940e0c53823a131b8
BLAKE2b-256 8c5d9ef7f808ea955eca9f08043c65bdc81a4694e784c978b24ad72022974a97

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