Skip to main content

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.

Metadata

Release files for py-db-migrate 0.3.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 py-db-migrate 0.3.1
File Size Uploaded
py_db_migrate-0.3.1.tar.gz 9.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for py-db-migrate 0.3.1
File Interpreter ABI Platform
py_db_migrate-0.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 23.1 kB

Release files / py_db_migrate-0.3.1.tar.gz

Download URL py_db_migrate-0.3.1.tar.gz
Size 9.1 kB
Tags Source
SHA-256 checksum
How to use checksums
b36306a68cb117dbcca9b05a3b321f31eca81094d87f04b5c6fae06cf1b66244
BLAKE2b-256 checksum
How to use checksums
83457f4b08b01e6aa6eae4d57a02d3e91cc32867e9e68640ba9f94b9d6874830
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.9.16 Darwin/22.4.0

Release files / py_db_migrate-0.3.1-py3-none-any.whl

Download URL py_db_migrate-0.3.1-py3-none-any.whl
Size 14.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
490061b987b66ed05552fc8817be4968dfc680d96cd9330d440a14e5d9b3d431
BLAKE2b-256 checksum
How to use checksums
99ef1f91faff2e8a4ebb699ab8d836e946e746b09178cdc1b6c015db3bb08560
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.9.16 Darwin/22.4.0

Release history Release notifications | RSS feed

0.4.0

2 release files

This release

0.3.1 This release

2 release files

0.2.0

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