Skip to main content

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


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-0.5.1.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

pg_migration-0.5.1-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

Details for the file pg_migration-0.5.1.tar.gz.

File metadata

  • Download URL: pg_migration-0.5.1.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for pg_migration-0.5.1.tar.gz
Algorithm Hash digest
SHA256 e5206b1a9ba0980b7947cd66e8298abeb56e3271a7e3b11f0e7327bd02a0f62b
MD5 0c4b1215ebb82a328b477100d5429ead
BLAKE2b-256 48acf733d8d84efc396fc5e6ea4c3303c7434f66751d8e66afadff40ff77cee0

See more details on using hashes here.

File details

Details for the file pg_migration-0.5.1-py3-none-any.whl.

File metadata

  • Download URL: pg_migration-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 11.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for pg_migration-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a0698c60caa7d0675d6b238ce3d5e002c9060f893de60e1a476618178136814d
MD5 e7582a8490f4abb82202fc550e78f6a2
BLAKE2b-256 9af27c47207212109fdc181e1bac1d49ac760b67ad527e3bb251f45fd93e2759

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page