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 Distribution

yoyo-migrations-8.1.0.tar.gz (48.0 kB view details)

Uploaded Source

Built Distribution

yoyo_migrations-8.1.0-py3-none-any.whl (47.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: yoyo-migrations-8.1.0.tar.gz
  • Upload date:
  • Size: 48.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/63.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.7.15

File hashes

Hashes for yoyo-migrations-8.1.0.tar.gz
Algorithm Hash digest
SHA256 60378d0f7bfb81f59c4bd2c59d82ae25a9c76770cdb301988062c8ccd38dba6c
MD5 0e1e6afa5c2cec74e9d9ecd8838a81d8
BLAKE2b-256 e907c5f229d1097c830ffcb2690d76d01d9b00e5d9420aa1c3a9a29940777c2f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: yoyo_migrations-8.1.0-py3-none-any.whl
  • Upload date:
  • Size: 47.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/63.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.7.15

File hashes

Hashes for yoyo_migrations-8.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 caa178148ff07d82d4b130667b7d9c4245855f1c97cc4256752682edf4221cdd
MD5 25be39d894baad6843e27fb204e0ffe2
BLAKE2b-256 7251895c0eef7d8ad194e3d65628cbf5adc511d621567acc8dd0b93045f0a228

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