Skip to main content

Hopefully no tears.

Project description

Happy Migrations: Hopefully no tears. (WIP)

Architecture:

  • up
  • up-all
  • up-to

Require Access to DB

  • down
  • down-to
  • down-all

TODO:

  1. Display nice error messages for lacking happy.ini or its data

Flow:

  1. create - Create mig file.
  2. up:
    1. check which should be applied
    2. parse mig
    3. apply mig
    4. add to the status
  3. down:
    1. check which should be rolled back
    2. parse mig
    3. rollback mig
    4. remove from the status

Test:

  • Coverage
  • Commands
  • Data classes

CLI:

  • Print notifications like:
    • Warning: No migration to apply
    • Success: Migration has being applied

Docs:

  • Create docs with MkDocs

Commands:

  • up
  • up-all
  • up-to
  • down
  • down-to
  • down-all
  • status
  • create
  • fixture

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

happy_migrations-0.0.3.tar.gz (13.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

happy_migrations-0.0.3-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

Details for the file happy_migrations-0.0.3.tar.gz.

File metadata

  • Download URL: happy_migrations-0.0.3.tar.gz
  • Upload date:
  • Size: 13.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for happy_migrations-0.0.3.tar.gz
Algorithm Hash digest
SHA256 c6207d488512e5fc7c26025cfacae471cb8131aaf9aebbdfc8fb06ae0fe5f787
MD5 7d62b47fb9470cea9624114f75b1d7d1
BLAKE2b-256 ca3de2f817578edbcbd157055e38d614f09f81f495e4cdeb65749117de704880

See more details on using hashes here.

File details

Details for the file happy_migrations-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for happy_migrations-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d6a6e0f031134f7271c82db17e7a05f0b19fc25231f28c6615e8830a8b8768f5
MD5 e608dca87aa11bb26e176aad90570d8d
BLAKE2b-256 bbd2ce56d8fabd00cee2513ffe2eee8a4bb4f20323d127ce7a879d8233fe6a1f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page