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 details)
Built Distribution
File details
Details for the file pogo_migrate-0.0.9.tar.gz
.
File metadata
- Download URL: pogo_migrate-0.0.9.tar.gz
- Upload date:
- Size: 12.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.11.8 Linux/6.5.0-1015-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 125b43d7f05f39424c57c971f6a25f527e5aa963e0b6b307e2f391a3c6e52928 |
|
MD5 | ffc37edcb91a9f26446ba9034ba4b427 |
|
BLAKE2b-256 | 02aae3bf46e082861ed7f89041ee9e1efd453ec18b5267d59c75d03e23b11a09 |
Provenance
File details
Details for the file pogo_migrate-0.0.9-py3-none-any.whl
.
File metadata
- Download URL: pogo_migrate-0.0.9-py3-none-any.whl
- Upload date:
- Size: 14.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.11.8 Linux/6.5.0-1015-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a1be64589e047253071b5ba8d76079ae46a492e0607a2eb9af22de36781ecf2 |
|
MD5 | 7f5ef58c01e0eec47863a972c75607f7 |
|
BLAKE2b-256 | 5b2026d70097c90439e2e33951794fe8278bdbf015762945d495bcee0a12be63 |