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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pogo_migrate-0.4.1.tar.gz.
File metadata
- Download URL: pogo_migrate-0.4.1.tar.gz
- Upload date:
- Size: 70.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fd429e05fd07721f29017705217fb348512249bd1fcab168c0302c0d44a7ec82
|
|
| MD5 |
720cdf8f23f789d92bdf80dd577a9086
|
|
| BLAKE2b-256 |
ff70cf0553d5778bdd68e0b09c106ffb493a5386bd6280edbbced9467ac83912
|
File details
Details for the file pogo_migrate-0.4.1-py3-none-any.whl.
File metadata
- Download URL: pogo_migrate-0.4.1-py3-none-any.whl
- Upload date:
- Size: 15.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f6db4ad402db776f3ecf5729c458808254969d1f7c31f355f34aca359d13532a
|
|
| MD5 |
a82e4adebe76fc0dab2f126fbf393b31
|
|
| BLAKE2b-256 |
c944fe245f46d0d4227fa0774f64c0601c23e465ca4b58f8447e3b62e0bd68c0
|