Skip to main content

No project description provided

Project description

py-db-migrate

CLI migration tool for python.

Usage:

$ py-db-migrate [OPTIONS] COMMAND [ARGS]...

Options:

  • --install-completion: Install completion for the current shell.
  • --show-completion: Show completion for the current shell, to copy it or customize the installation.
  • --help: Show this message and exit.

Commands:

  • create: Create a new sql file.
  • down: Delete the latest migration file by using...
  • init: Create an initial configuration file.
  • start: Create an initial configuration file.
  • up: Run the new migration files.

py-db-migrate create

Create a new sql file.

Usage:

$ py-db-migrate create [OPTIONS] NAME

Arguments:

  • NAME: [required]

Options:

  • --help: Show this message and exit.

py-db-migrate down

Delete the latest migration file by using down file.

Usage:

$ py-db-migrate down [OPTIONS]

Options:

  • --help: Show this message and exit.

py-db-migrate init

Create an initial configuration file.

You need to update this configuration file.

Usage:

$ py-db-migrate init [OPTIONS]

Options:

  • --help: Show this message and exit.

py-db-migrate start

Create an initial configuration file.

You need to update this configuration file.

Usage:

$ py-db-migrate start [OPTIONS]

Options:

  • --help: Show this message and exit.

py-db-migrate up

Run the new migration files.

Usage:

$ py-db-migrate up [OPTIONS]

Options:

  • --help: Show this message and exit.

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

py_db_migrate-0.2.0.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

py_db_migrate-0.2.0-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

Details for the file py_db_migrate-0.2.0.tar.gz.

File metadata

  • Download URL: py_db_migrate-0.2.0.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.9.16 Darwin/22.4.0

File hashes

Hashes for py_db_migrate-0.2.0.tar.gz
Algorithm Hash digest
SHA256 c4483874e98de3dd6d9201c54b1d2aff3bcce7252dfa103783e315a3e98ee4e4
MD5 49f014e497f59d924ef506697517fbdd
BLAKE2b-256 9adf5c900c1345d04bf71687a4764f14e64965875517cbf8129bf0db6cbed836

See more details on using hashes here.

File details

Details for the file py_db_migrate-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: py_db_migrate-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 14.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.9.16 Darwin/22.4.0

File hashes

Hashes for py_db_migrate-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e9b995d028955b33b26c5db2777936446b63141007b8eb52f253763247fe23a7
MD5 98ed3f847c01ef9991710e87b3390d48
BLAKE2b-256 aed6af6541de54842a1c7f682e2881fb31b3e7e0a09811fb22dfa3ca39b1d14c

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