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

Uploaded Source

Built Distribution

yoyo_migrations-7.3.2-py3-none-any.whl (39.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for yoyo-migrations-7.3.2.tar.gz
Algorithm Hash digest
SHA256 44840828e1a0169f541e702d5aedca8185ada68087e7bad4850a6fc5d71e77a4
MD5 bf1f70e0198a8dae5eb78e864d545456
BLAKE2b-256 2300c3efca5b120f5ae86773509ceddc1bd76f21bd96bda2c06b710e27eabd65

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for yoyo_migrations-7.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a6e6bc990732d4951c4e2a5b2815d60fe47a445f1c0d1b3433b9ef5f36bca8df
MD5 1d07712f0bf5ba79bdfabdc6f9741f47
BLAKE2b-256 f6b49007b31831e58fb9941a0da1ca20e38a227d0bb3e5a3651b43d26f9a95b1

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