Skip to main content

Database migrations with SQL

Project description

IMPORTANT: On Tuesday 23 June 2020 the yoyo repository will move to Sourcehut.

Yoyo database migrations

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 Distribution

yoyo-migrations-7.3.1.tar.gz (42.7 kB view details)

Uploaded Source

Built Distribution

yoyo_migrations-7.3.1-py3-none-any.whl (37.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: yoyo-migrations-7.3.1.tar.gz
  • Upload date:
  • Size: 42.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.9

File hashes

Hashes for yoyo-migrations-7.3.1.tar.gz
Algorithm Hash digest
SHA256 24593b5bc25d43f1395843ed9d4605f0227e258706db93bdb31ad5a6f46c8ab3
MD5 8a640c9c136b8c4a7544151cfc05654a
BLAKE2b-256 3a76f2e0d2e1e2517b87204f86e8f9a0b53c7ae1cea97867fa339d4c801a20bc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: yoyo_migrations-7.3.1-py3-none-any.whl
  • Upload date:
  • Size: 37.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.9

File hashes

Hashes for yoyo_migrations-7.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b10324c6206d1f636f85b824f57f141782b873625af3c3077cee95598dacf9e1
MD5 9802aed4cc3a8792feff2caa2914615c
BLAKE2b-256 6fcaccfc5415bcb07f1fb443716ea4824777fa3c73872978f0f545e34ac94b75

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