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.21.tar.gz
(16.1 kB
view hashes)
Built Distribution
Close
Hashes for pogo_migrate-0.0.21-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1d39a5c63f7d5757704d9e4ab907b9b916fca26ee208a55cd21355c9edfb91d |
|
MD5 | ab2c6601e49ab41fded38f1a17680281 |
|
BLAKE2b-256 | dbf22ebf5559d958dc2fe21b9e6b50d84ab791c26d4e4e79acd9ce2befc2fe48 |