Skip to main content

Database migrations with SQL

Project description

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

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

Project details


Download files

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

Source Distribution

yoyo-migrations-6.0.0.tar.gz (35.8 kB view details)

Uploaded Source

Built Distribution

yoyo_migrations-6.0.0-py2.py3-none-any.whl (33.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file yoyo-migrations-6.0.0.tar.gz.

File metadata

  • Download URL: yoyo-migrations-6.0.0.tar.gz
  • Upload date:
  • Size: 35.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/2.7.15

File hashes

Hashes for yoyo-migrations-6.0.0.tar.gz
Algorithm Hash digest
SHA256 54dce875b2ced31e9bf3bbe52f67a7e0cff5b964d849b099d7ceac92a92c53bf
MD5 7915ea97779328ff68e24691ff326a58
BLAKE2b-256 5f2f67264ec6288a7a01bc31a38ec72007616e7f457d7152a8e7f5f8de0f6d95

See more details on using hashes here.

File details

Details for the file yoyo_migrations-6.0.0-py2.py3-none-any.whl.

File metadata

  • Download URL: yoyo_migrations-6.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 33.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/2.7.15

File hashes

Hashes for yoyo_migrations-6.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 25ccb99faebdb820e87fdb410e8b21655a634124fde5dbdcdaa9a591cef01a19
MD5 34c238550cbeb789165e2a77f6a08585
BLAKE2b-256 51e43c611768f26e0eb171a95211d2af2d6ba2a1160026323a65daae807f5fa5

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