Skip to main content

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.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pg-migration 1.7.1
File Size Uploaded
pg_migration-1.7.1.tar.gz 15.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pg-migration 1.7.1
File Interpreter ABI Platform
pg_migration-1.7.1-py3-none-any.whl Python 3 none any Details

Total release size: 31.6 kB

Release files / pg_migration-1.7.1.tar.gz

Download URL pg_migration-1.7.1.tar.gz
Size 15.0 kB
Tags Source
SHA-256 checksum
How to use checksums
0bf098b6af191e50342f31c804dbe268c5ccd408ea5f14adbdd7db50ce4a4508
BLAKE2b-256 checksum
How to use checksums
0d585243e02adee30219789be819c3ad1b4e677fa6c342ec3c7399ea16ada1a3
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.1-py3-none-any.whl

Download URL pg_migration-1.7.1-py3-none-any.whl
Size 16.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
806416f914366f5f19292e43f37843c49296af4d47062d74f7776fcbd5122403
BLAKE2b-256 checksum
How to use checksums
055d3d23b1fb77c1cf3f4ad0f5d45eef93ac5283124591732d498419bf1ee570
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.3

Release history Release notifications | RSS feed

1.7.3

2 release files

1.7.2

2 release files

This release

1.7.1 This release

2 release files

1.7.0

2 release files

1.6.1

2 release files

1.6.0

2 release files

1.5.1

2 release files

1.5.0

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.5

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.5.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page