"Fossies" - the Fresh Open Source Software Archive

Member "monasca-api-3.1.0/monasca_api/db/README" (27 Sep 2019, 503 Bytes) of package /linux/misc/openstack/monasca-api-3.1.0.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 This directory contains the plumbing for the Alembic migrations that modify the
    2 Monasca database.
    3 
    4 If you need to add a new migration, run
    5 
    6   alembic revision -m '<revision message>'
    7 
    8 in this directory, where <revision message> is a short description for what
    9 your migration does such as 'Add volume field to alarm'. Alembic will then
   10 create a revision script in the alembic/versions/ directory. You will need to
   11 edit this script to add upwards and downwards migrations for the change you
   12 want to make.