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.5.0.tar.gz
(14.3 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.5.0.tar.gz.
File metadata
- Download URL: pg_migration-1.5.0.tar.gz
- Upload date:
- Size: 14.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b6264339449e755f46e10e5430676983e642a0aabd85096ad9b06f736bfa689
|
|
| MD5 |
2acdade98d6426551faaff5bc4f8903e
|
|
| BLAKE2b-256 |
a2f866279f18d5cf68b1d48c0c64ad1a79c078915d2d0dcaedb2b8a29eb11a8f
|
File details
Details for the file pg_migration-1.5.0-py3-none-any.whl.
File metadata
- Download URL: pg_migration-1.5.0-py3-none-any.whl
- Upload date:
- Size: 16.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7e81f809470f49471b349aed55cf83014d9763a1dbd5645fee59ffa39bda39b2
|
|
| MD5 |
a1553399523868e48312be232f1d0bd5
|
|
| BLAKE2b-256 |
0bd5dc85a7e9ca55100916cfcb2f1e017e582f70177eb8218eca1d1b868d7543
|