The CLI application for managing SQL migrations.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file py_db_migrate-0.3.1.tar.gz.
File metadata
- Download URL: py_db_migrate-0.3.1.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b36306a68cb117dbcca9b05a3b321f31eca81094d87f04b5c6fae06cf1b66244
|
|
| MD5 |
91c2dbf7d425e02a0b8f43008445a534
|
|
| BLAKE2b-256 |
83457f4b08b01e6aa6eae4d57a02d3e91cc32867e9e68640ba9f94b9d6874830
|
File details
Details for the file py_db_migrate-0.3.1-py3-none-any.whl.
File metadata
- Download URL: py_db_migrate-0.3.1-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
490061b987b66ed05552fc8817be4968dfc680d96cd9330d440a14e5d9b3d431
|
|
| MD5 |
50972167f95751aaa5609bb6bcf0ec67
|
|
| BLAKE2b-256 |
99ef1f91faff2e8a4ebb699ab8d836e946e746b09178cdc1b6c015db3bb08560
|