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

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

Uploaded Source

Built Distribution

yoyo_migrations-7.1.0-py3-none-any.whl (36.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: yoyo-migrations-7.1.0.tar.gz
  • Upload date:
  • Size: 41.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.8.0 tqdm/4.41.1 CPython/3.7.7

File hashes

Hashes for yoyo-migrations-7.1.0.tar.gz
Algorithm Hash digest
SHA256 634aca4d7533a15fab1618e3a1712cc7a13e99e55b11b9bbb473b86928839c7b
MD5 187c7f4b56e689dfd802c04fc203776a
BLAKE2b-256 6290f88e6b0b98cc00e196f7c36c3a44fed043a0ec8d18a23116842d8837ced9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: yoyo_migrations-7.1.0-py3-none-any.whl
  • Upload date:
  • Size: 36.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.8.0 tqdm/4.41.1 CPython/3.7.7

File hashes

Hashes for yoyo_migrations-7.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0ca40dc22b83559d128b6f820c999902203121b3ac901d88f9a3db6a06db0106
MD5 f16d8c846ea74b93ba1623e32fd4fab8
BLAKE2b-256 9e23049d299f76c34093cee5a6d4a2d283d391baac5a8f17949187069adf3316

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