Database migrations with SQL
Project description
This project is fork from yoyo-migrations https://ollycope.com/software/yoyo/latest/
- .env file:
SOURCE=./migrations BATCH_MODE=on|off(default) VERBOSITY=0|1|2|3 EDITOR= POST_CREATE_COMMAND= PREFIX=
DB_DRIVER=pymssql DB_USER= DB_PASSWORD= DB_HOST= DB_PORT= DB_NAME= VERSION_TABLE=
- Launch Commands:
- migrations list
new –sql -m ‘example of a comment appended to a file name’ apply rollback
You can add a comment to the migration in sql format migration files. The comment will be saved in the migration history table.
– comment: comment text…
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
Built Distribution
File details
Details for the file classic_migrations-0.0.3.tar.gz
.
File metadata
- Download URL: classic_migrations-0.0.3.tar.gz
- Upload date:
- Size: 32.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e79ae021f49b2319d2a088b505213f42ccba305fba6b6b4d7a3c776d08a67014 |
|
MD5 | 53646223f52e3e29b52904cf298ab19b |
|
BLAKE2b-256 | 655fc23d00d87c9fc78e845885b0403d642663b8f1bc5cce245e49a17960d17f |
File details
Details for the file classic_migrations-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: classic_migrations-0.0.3-py3-none-any.whl
- Upload date:
- Size: 46.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9631c4d6539c73d0287ac31dc7cd7fa18dd78437ab68ff8dd2a923b73092b63d |
|
MD5 | cbc36c5a123bc161066d96755b3b9aa5 |
|
BLAKE2b-256 | 94a08fa52313efd34bcdeba9ec2bc18b0333d5eb18abdcb30459238a436a0b2d |