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.1.0.tar.gz (36.5 kB view details)

Uploaded Source

Built Distribution

yoyo_migrations-6.1.0-py2.py3-none-any.whl (34.0 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: yoyo-migrations-6.1.0.tar.gz
  • Upload date:
  • Size: 36.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.5.6

File hashes

Hashes for yoyo-migrations-6.1.0.tar.gz
Algorithm Hash digest
SHA256 4538dbdfe4784c30bade14275558247ec8ce8111b4948dc38f51d4172f9d513c
MD5 b91476050b685c4cfe4644217c89e8b3
BLAKE2b-256 a3fc5c80eb3dd9689c704db38c9a412b33cbc07f4838d11f5a2cf2bbf40d09f9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: yoyo_migrations-6.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 34.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.5.6

File hashes

Hashes for yoyo_migrations-6.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 95e5c49a797873d3b86e5a7714c1a714bea8728a6fc1d6f6f5019d3d058471e5
MD5 6a8038824bf516a9b51fe625e2378c85
BLAKE2b-256 5fcff6d468c6929e8739cd12bf1a9cf3719e0be739e09acfaddc0f9ade67e67c

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