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
Release files for pg-migration 1.7.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pg_migration-1.7.3.tar.gz | 15.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pg_migration-1.7.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 31.6 kB
Release files / pg_migration-1.7.3.tar.gz
| Download URL | pg_migration-1.7.3.tar.gz |
|---|---|
| Size | 15.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6f676cc43a18058f633a1104f362f6ab833fc1611aa63274c86f9fa4265f399b
|
|
BLAKE2b-256 checksum How to use checksums |
cf553e9be9000ed6e189ce6eec097bc98c430f6e83f3c7d8d9b15f133db45cbf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.3
|
Release files / pg_migration-1.7.3-py3-none-any.whl
| Download URL | pg_migration-1.7.3-py3-none-any.whl |
|---|---|
| Size | 16.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
550c4f76f79b18053947e1bd2bfefd514b5f2db62753272fc0642802dd753013
|
|
BLAKE2b-256 checksum How to use checksums |
3bbd5e1ba6cee9bd2ebae73d5c3c868a68973470b7e7146807ec0500047c1dcd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.3
|