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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: yoyo-migrations-7.1.2.tar.gz
  • Upload date:
  • Size: 41.6 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.2.tar.gz
Algorithm Hash digest
SHA256 cfd92cd1b26c3a026f6813b28c03f80a9532a035acc4fd8dc2f7c4dd8dbd3316
MD5 21709a6487084bb9ff60adeabaae7a99
BLAKE2b-256 fe0f76fd9786ea68a91990b5eb219dbe06f7cbe55267ab14195de381a28ceb72

See more details on using hashes here.

File details

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

File metadata

  • Download URL: yoyo_migrations-7.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d941d0ff55a0af33dd1a7287c14d8755f580cafd87da3e42b36c815af41cefdb
MD5 0b0ba8c8956b217e05f402b218421848
BLAKE2b-256 b07de5b938e54cce84308c2259f4a203278e8ce5f3b06aae63b5e6258e520cfd

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