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.0.17.tar.gz
(12.8 kB
view details)
Built Distribution
File details
Details for the file pogo_migrate-0.0.17.tar.gz
.
File metadata
- Download URL: pogo_migrate-0.0.17.tar.gz
- Upload date:
- Size: 12.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.9 Linux/6.5.0-1021-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55a47be36457bb9d355f231ff3530f0cb2cc001bc33ac02c045c1d0d1c70cee4 |
|
MD5 | 9c11cc143cf3d1c4802455047e0b4aeb |
|
BLAKE2b-256 | 9660b021946701a1cf7692e9afe248aa4c579d74cbf45a073259f107c57aa4ee |
Provenance
File details
Details for the file pogo_migrate-0.0.17-py3-none-any.whl
.
File metadata
- Download URL: pogo_migrate-0.0.17-py3-none-any.whl
- Upload date:
- Size: 14.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.9 Linux/6.5.0-1021-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2a6c46418ad9a43bbd1a17c18a5a67a52191de05924228795de263ce80ea32f |
|
MD5 | 36fde454269a003190dc9753b378a8f1 |
|
BLAKE2b-256 | dc3121ccd7880c5817c1e1e89634f07235163ee450a84733332e64fe2c90a1a5 |