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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pg_migration-1.1.3-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pg_migration-1.1.3.tar.gz
Algorithm Hash digest
SHA256 a8f852b10388a3cdf5072a3aee01dbf7773cd44d765ca83a8a09bc40e3397804
MD5 b230c2b128663b029b7a57a3e51f9903
BLAKE2b-256 2edddbd0f0cc456d7636f3643cfa8277efcca71953f609ca2d556698e8b19acf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pg_migration-1.1.3-py3-none-any.whl
  • Upload date:
  • Size: 13.6 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-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2408210b6481a54e7373a5dcf63b1c93ebb6e5297fa9a7bcd185c0c3c981a465
MD5 d1fd9615e712175ef3462c20b51bd340
BLAKE2b-256 a054f6b987f9175d53fdb415839700dddb2fb96c5cbd2d5f0d7fa244f709d05a

See more details on using hashes here.

Supported by

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