Database migration tool for asyncpg
Project description
Pogo migrate - asyncpg migration tooling
pogo-migrate
is a migration tool intended for use with asyncpg
and assists
with maintaining your database schema (and data if required) as it evolves.
Pogo supports migrations written in raw sql, as well as python files (useful
when data needs to be migrated).
A migration can be as simple as:
-- a descriptive message
-- depends: 20210101_01_abcdef-previous-migration
-- migrate: apply
CREATE TABLE foo (id INT, bar VARCHAR(20), PRIMARY KEY (id));
-- migrate: rollback
DROP TABLE foo;
Pogo manages these migration scripts and provides command line tools to apply, rollback and show migration history.
See the docs for more details.
Thanks and Credit
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
pogo_migrate-0.2.2.tar.gz
(75.2 kB
view details)
Built Distribution
File details
Details for the file pogo_migrate-0.2.2.tar.gz
.
File metadata
- Download URL: pogo_migrate-0.2.2.tar.gz
- Upload date:
- Size: 75.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d30cf9939b5125afcbe1b2ae79bfa54fc23b07cebdf37b42ec927079877e6d2 |
|
MD5 | 8537fed07de78da9e3e4611413481e94 |
|
BLAKE2b-256 | 3c8b3cbed42c6d1b3dbb5897cadbcccd436daf17f8256accc8961f59a4c5c712 |
Provenance
File details
Details for the file pogo_migrate-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: pogo_migrate-0.2.2-py3-none-any.whl
- Upload date:
- Size: 20.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c43aea14cf40b67666c1262930d09e4d866b9ad9ff777037deac986c330fba35 |
|
MD5 | 18f53678c1261329059f1660f50fab51 |
|
BLAKE2b-256 | a038662fdf9a28124bbb02378bf7db0050bd310c76970bc8daa6e522752861db |