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

Uploaded Source

Built Distribution

yoyo_migrations-8.0.0-py3-none-any.whl (46.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for yoyo-migrations-8.0.0.tar.gz
Algorithm Hash digest
SHA256 91c92135ad0b29cfbc35de95e8179cd0d323bd1ebc1a8da5b6c402c26713994b
MD5 7d2a14e9dba6be8e82da60d458712fb6
BLAKE2b-256 391831e2a0667b43dc53d2e59f4e66e6867bb9fca4a33fc784bb8295b9152787

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for yoyo_migrations-8.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6db977f56bb4d0e97b8c64ad83d67f3a88569f7900b98154926c6034993fe8a5
MD5 df1456c7e3ab96fc7d6e8d607904fda9
BLAKE2b-256 c99486e23a005b5aca23c93fa944c2834b5ae8b2e839ee85df070c4f0732b006

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