octavia/octavia/db/migration/alembic_migrations/README.rst
Michael Johnson 9a30e12814 Clarify that octavia-db-manage should be used
It was not clear to users that we now use octavia-db-manage for
alembic actions in octavia.  Users would get an exception if they
tried to use native alembic due to changes to the env.py.
This patch updates the README.rst and env.py to clarify that
octavia-db-manage should be used.

Change-Id: I97e7fce5da167875694bc1a6abc69d47b3021487
2017-01-19 00:18:49 +00:00

289 B

The migrations in the alembic/versions contain the migrations.

Before running this migration ensure that the database octavia exists.

To run migrations you must first be in the octavia/db/migration directory.

To migrate to the most current version run: $ octavia-db-manage upgrade head