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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yoyo_migrations-5.1.7-py2.py3-none-any.whl (29.6 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: yoyo-migrations-5.1.7.tar.gz
  • Upload date:
  • Size: 32.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/2.7.15

File hashes

Hashes for yoyo-migrations-5.1.7.tar.gz
Algorithm Hash digest
SHA256 7d4b267eaf8c8472187d01435b2c0a6bf3947a1af21805b32a93753270b7cef1
MD5 d744e5bc3198948626e950493218b69f
BLAKE2b-256 fb120132a70f802d080550717f5645b3ed1aad36a1411848a4699b21e58301dd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: yoyo_migrations-5.1.7-py2.py3-none-any.whl
  • Upload date:
  • Size: 29.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/2.7.15

File hashes

Hashes for yoyo_migrations-5.1.7-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 01332b50b11d54bd5f5def098d18dbb4dc782f173dbc04bed35dcb86bc49146d
MD5 eee9b695ccbe06cce6abb226e3dfa513
BLAKE2b-256 03e09f68c08ef31350eaf39fefa04b8fa69867c3b09999d08999ff90f16fbded

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page