Skip to main content

Database migrations with SQL

Project description

Yoyo is a database schema migration tool. You write database migrations as Python scripts containing raw SQL statements or Python functions.

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

Uploaded Source

Built Distribution

yoyo_migrations-7.0.1-py2.py3-none-any.whl (34.2 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: yoyo-migrations-7.0.1.tar.gz
  • Upload date:
  • Size: 37.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.8.0 tqdm/4.41.1 CPython/3.7.5

File hashes

Hashes for yoyo-migrations-7.0.1.tar.gz
Algorithm Hash digest
SHA256 d7a8c0e233bb8824f6437c87ce8b9d6f6e5ac5567864124e281a55894434b89f
MD5 60f898480b125ac7dd47f117ee12701c
BLAKE2b-256 629d62dbdd7f6e36941bbf65058e9ec82ba4e76ff8cdc9ee57a1176beb9882ad

See more details on using hashes here.

File details

Details for the file yoyo_migrations-7.0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: yoyo_migrations-7.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 34.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.8.0 tqdm/4.41.1 CPython/3.7.5

File hashes

Hashes for yoyo_migrations-7.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 52f84248b8ea212a376c8da9f7b686a1ceaa42f5bc30dd2f578ea59ad31cd80f
MD5 fd5d8c27d782b204dcc39b2f14da2475
BLAKE2b-256 b0daf820f293b5c67cef370b3f937406b82c2b15335a5ada2cb84f30b05010ab

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