postgres ci/cd automation
Project description
pg-migration - ci/cd automation
Migration control system for postgres database
installation
pip install pg-migration
usage
$ pg_migration --help
usage: pg_migration [-h] {log,diff,upgrade,generate,plpgsql_check,auto_merge,init} ...
optional arguments:
-h, --help show this help message and exit
commands:
{log,diff,upgrade,generate,plpgsql_check,auto_merge,init}
log print chain of migrations between from_version:to_version (or tail:head)
diff show difference between database and specified (or last) version
upgrade upgrade database up to specified (or last) version
generate generate migration file
plpgsql_check check functions and triggers with plpgsql_check extension
auto_merge creates merge-request when magic word "auto-commit" / "auto-deploy" is passed (uses in cd/cd)
init build migration which will create scheme migration and table migration.release
Report bugs: https://github.com/comagic/pg_migration/issues
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
pg_migration-1.3.0.tar.gz
(12.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 pg_migration-1.3.0.tar.gz.
File metadata
- Download URL: pg_migration-1.3.0.tar.gz
- Upload date:
- Size: 12.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe2cf770f6fb7d11c055f93dea9443d03b7c82596efaacc0886a0d7034aae6c2
|
|
| MD5 |
1a026625fd3a56bfcbb9194c1ab10c24
|
|
| BLAKE2b-256 |
dc96fd4621595d8b980e9b2a8867719299fe6d6d17abcbe9a28b313f37d9ea25
|
File details
Details for the file pg_migration-1.3.0-py3-none-any.whl.
File metadata
- Download URL: pg_migration-1.3.0-py3-none-any.whl
- Upload date:
- Size: 14.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c3c59d90669350edc24d2a7f0954de835100edd49b6620beb3926f9aecc67ae4
|
|
| MD5 |
b7a07edf86097c10688f90468078721f
|
|
| BLAKE2b-256 |
6c402741c9d94b18bd64149853c8daf855c0625977e2b791b754c4316746aef4
|