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

Uploaded Source

Built Distribution

yoyo_migrations-7.2.1-py3-none-any.whl (36.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: yoyo-migrations-7.2.1.tar.gz
  • Upload date:
  • Size: 42.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.9

File hashes

Hashes for yoyo-migrations-7.2.1.tar.gz
Algorithm Hash digest
SHA256 89b6d51e9fcc8f7b413ebfa99576d19a71c0a04a0917898e45ad02c711e5f0da
MD5 f49dccea1e8f98655fb2abdc7b297630
BLAKE2b-256 b50bd836ad582049cd4081dfed6e141881d146eaf3dde4e05f3b4dfc3cd5cb4a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: yoyo_migrations-7.2.1-py3-none-any.whl
  • Upload date:
  • Size: 36.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.9

File hashes

Hashes for yoyo_migrations-7.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0d8202a2ca3a337dfa8b617d22ed497a6827f47987eaab8b833cc4b60b66ad5c
MD5 d5fdfd3e3bc9873708fbdb2afe850779
BLAKE2b-256 b097ada5db44fc275906630eb3355da39249b59bdd77b5d7ba0bbe0b5b4fe46f

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