zuul/releasenotes/notes/version-table-prefix-c6a5e84851268f4d.yaml
Tobias Henkel 56fc36dd60
Also prefix the alembic_version table
We need to prefix all tables if we configured a prefix. That includes
the alembic version table.

Change-Id: Ie80544cca8aeb6c8bc66e1eea7722b4a8ed7f8dc
2018-04-11 07:30:40 +02:00

10 lines
452 B
YAML

---
upgrade:
- |
The alembic version table is fixed to being prefixed too. This is necessary
when using :attr:`<sql connection>.table_prefix`. However if you are
already using ``table_prefix`` you will need to rename the table
``alembic_version`` to ``<prefix>alembic_version`` before starting Zuul.
Otherwise zuul will try to create the tables again and fail. If you're not
using ``table_prefix`` you can safely ignore this.