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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: yoyo-migrations-7.2.0.tar.gz
  • Upload date:
  • Size: 42.0 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.8

File hashes

Hashes for yoyo-migrations-7.2.0.tar.gz
Algorithm Hash digest
SHA256 a54f6176ff6da3330be537c962235aaa9e5f7f2aae563b1c531b1cb616d80359
MD5 2b1f9051bd6754e57a40dd9e9469e1c4
BLAKE2b-256 0d5a814d8f67d175432bb7ebb58c576aae90953176d1443dcd16b417520190f3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: yoyo_migrations-7.2.0-py3-none-any.whl
  • Upload date:
  • Size: 36.6 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.8

File hashes

Hashes for yoyo_migrations-7.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d6e0e32054d81b27278f465e719e39c658e14decd62fd71d34f50e0772f80755
MD5 349bfc57d6eeff1078eb6865136f3b6d
BLAKE2b-256 ba9c1fa2366d18dc5962c4c4af1a025403f0481b4cf2949066315c4def276db8

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