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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file yoyo-migrations-7.1.1.tar.gz
.
File metadata
- Download URL: yoyo-migrations-7.1.1.tar.gz
- Upload date:
- Size: 41.5 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1cfd75e6aa43915f08a2195c5bf39e7b6943cd63d2d1c40c58bfa7dc3cde0d4 |
|
MD5 | 33605aa59a1db4c0e184d9e5f61ce1dc |
|
BLAKE2b-256 | 4bea61a26ad5c580bde9c910cad4b55eef0ac910161fbd1ad65dedeb1fa1ed9e |
File details
Details for the file yoyo_migrations-7.1.1-py3-none-any.whl
.
File metadata
- Download URL: yoyo_migrations-7.1.1-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c59dc37086378628427c4996d71f8b7a843dacf96be7ff13f79d3198fd8f05d |
|
MD5 | 74a6cca6b542c19fbc4318a39e16038c |
|
BLAKE2b-256 | 063868b874421c067c532b06124b00126df25c48577bc152fbb1f3db8d569360 |