A minimal PostgreSQL migration tool for Python
Project description
pgmini-migrate
pgmini-migrate is a lightweight SQL migration tool for PostgreSQL.
It allows you to easily create migration files and run upgrades/downgrades using simple CLI commands.
No ORM required — just pure SQL.
✨ Features
- Auto-generate migration files (
upgrade+downgrade). - Run upgrade or downgrade up to a specific version.
- Two connection options:
- via
DATABASE_URL - via
host,port,user,password,dbname.
- via
- Configurable migrations directory.
- Minimal, simple, and PostgreSQL-focused.
📦 Installation
pip install pgmini-migrate
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
pgmini_migrate-0.1.3.tar.gz
(5.7 kB
view details)
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 pgmini_migrate-0.1.3.tar.gz.
File metadata
- Download URL: pgmini_migrate-0.1.3.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0e9238405e27b1b07776db9b3549bbacc7114dc9fc55405df54cc9a6e0061175
|
|
| MD5 |
688e0068ea61611ba5f8d12420cf5eb4
|
|
| BLAKE2b-256 |
3e0ea38c7a02bca26dd70b4fb180da88b29ecbd8aeaca29c47b0462b7950dc91
|
File details
Details for the file pgmini_migrate-0.1.3-py3-none-any.whl.
File metadata
- Download URL: pgmini_migrate-0.1.3-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
76406d2491096c1a98aabfe79e46181dc01f6907f83b278d964d3bc1bf105dd7
|
|
| MD5 |
0fa8c8f0a2f8b758ce5c2c352d7737c2
|
|
| BLAKE2b-256 |
ac21894d422a10679579c08cc8038dc4506ae69d8ab95bc03430c5e3e89d443a
|