Skip to main content

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

classic-migrations-0.0.2.tar.gz (32.4 kB view details)

Uploaded Source

File details

Details for the file classic-migrations-0.0.2.tar.gz.

File metadata

  • Download URL: classic-migrations-0.0.2.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

Hashes for classic-migrations-0.0.2.tar.gz
Algorithm Hash digest
SHA256 2278a6296abdd4fa4bd053f2ffb65d9f24c715f00f49b12ab562f7816371786a
MD5 9dcc9c0a6a55356632100698fcc28e39
BLAKE2b-256 39aa20eb0fd2c2475423538bf6bae8aaf40b6af03e4f3a8f7842d3a787785d4f

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