ff0c1cc67d
Add an alembic migration to remove the built-in plugins. Monasca-notification becomes responsible for creating them, if they are enabled in the monasca-notification config file. This also adds some very basic tests and fixes an issue with Python 3 support (highlighted by the tests) where the schema was stored as unicode which prevented hashing. Story: 2003801 Task: 26533 Change-Id: I74848bac2137e446c8825f23778f6a16a96a2048 |
||
---|---|---|
.. | ||
alembic | ||
README | ||
__init__.py | ||
alembic.ini | ||
fingerprint.py |
README
This directory contains the plumbing for the Alembic migrations that modify the Monasca database. If you need to add a new migration, run alembic revision -m '<revision message>' in this directory, where <revision message> is a short description for what your migration does such as 'Add volume field to alarm'. Alembic will then create a revision script in the alembic/versions/ directory. You will need to edit this script to add upwards and downwards migrations for the change you want to make.