Database migration tool for asyncpg
Project description
Pogo migrate - asyncpg migration tooling
Configuration
Add pogo to pyproject.toml
[tool.pogo]
migrations_location = "./migrations"
database_env_key = "POSTGRES_DSN"
If you have an existing environment with separate configuration values for postgres, you can build the DSN in config.
[tool.pogo]
migrations_location = "./migrations"
database_config = "postgres://{POSTGRES_USER}:{POSTGRES_PASSWORD}@{POSTGRES_HOST}:{POSTGRES_PORT}/{PORTGRES_DATABASE}"
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.9.tar.gz
(12.4 kB
view hashes)
Built Distribution
Close
Hashes for pogo_migrate-0.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a1be64589e047253071b5ba8d76079ae46a492e0607a2eb9af22de36781ecf2 |
|
MD5 | 7f5ef58c01e0eec47863a972c75607f7 |
|
BLAKE2b-256 | 5b2026d70097c90439e2e33951794fe8278bdbf015762945d495bcee0a12be63 |