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.5.1.tar.gz (14.4 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.5.1-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pg_migration-1.5.1.tar.gz
Algorithm Hash digest
SHA256 660ac2cf4c10da73c0659cdacbe659c05e2e0e1e657d388eea02808e366f6ed9
MD5 b50bc5fbb7d5d29667d7f5f2a64cbaa7
BLAKE2b-256 a60001e0f6e1004e012e56704abe70adf19395dff5e83e6ff959b089fef26b63

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pg_migration-1.5.1-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

Hashes for pg_migration-1.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e57aebb7ea43dd1142ec9d7d4ce15c4c0914ad387c6a42fcfa5145d5c8c8cd93
MD5 fa6411099d9398bf618cb8733a021eb7
BLAKE2b-256 cdc161b5a1a0726a38f00ea394b53898b7f670692bedee20e88a4a79d0d71ebb

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