543 B
543 B
The migrations in the alembic/versions contain the migrations.
Before running this migration ensure that the database octavia exists.
Currently the database connection string is in octavia/db/migration/alembic.ini but this should eventually be pulled out into an octavia configuration file. Set connection string is set by the line: sqlalchemy.url = mysql://<user>:<password>@localhost/<database>
To run migrations you must first be in the octavia/db/migration directory.
To migrate to the most current version run: $ alembic upgrade head