commit 2d72ac69df756d9f48cc9b82df16eb760f144eec
Author: Stephen Balukoff <email address hidden>
Date: Tue Jun 7 13:44:44 2016 -0700
Fix alembic migration on MySQL 5.7
Presently, attempting to run alembic migrations for Octavia on a host
using MySQL 5.7 as the database back-end fails with an error about a
nullable field in a primary key. This commit fixes the offending
migration and introduces a second, similar migration so that any
existing installation using MySQL 5.6 or older also have this field set
to be non-nullable.
Reviewed: https:/ /review. openstack. org/326723 /git.openstack. org/cgit/ openstack/ octavia/ commit/ ?id=2d72ac69df7 56d9f48cc9b82df 16eb760f144eec
Committed: https:/
Submitter: Jenkins
Branch: master
commit 2d72ac69df756d9 f48cc9b82df16eb 760f144eec
Author: Stephen Balukoff <email address hidden>
Date: Tue Jun 7 13:44:44 2016 -0700
Fix alembic migration on MySQL 5.7
Presently, attempting to run alembic migrations for Octavia on a host
using MySQL 5.7 as the database back-end fails with an error about a
nullable field in a primary key. This commit fixes the offending
migration and introduces a second, similar migration so that any
existing installation using MySQL 5.6 or older also have this field set
to be non-nullable.
Change-Id: Iae3d4f627c1124 b1d913aab283e6e 19d9c0f0dbb
Closes-Bug: #1590145