Reviewed: https://review.openstack.org/22215 Committed: http://github.com/openstack/keystone/commit/838069bf2239d4b3f094a644a8c77f0841a7240a Submitter: Jenkins Branch: master
commit 838069bf2239d4b3f094a644a8c77f0841a7240a Author: Dirk Mueller <email address hidden> Date: Mon Feb 18 18:03:31 2013 +0100
Workaround Migration issue with PostgreSQL
For unknown reason, SQLAlchemy-Migrate does not pass the populate_default=True down to the ALTER TABLE statement.
Therefore, create the column in two steps, which avoids the IntegrityError.
Fixes LP Bug 1068181
Change-Id: I30770d8b29ec442576a66fc07b2c78e2440fb328
Reviewed: https:/ /review. openstack. org/22215 github. com/openstack/ keystone/ commit/ 838069bf2239d4b 3f094a644a8c77f 0841a7240a
Committed: http://
Submitter: Jenkins
Branch: master
commit 838069bf2239d4b 3f094a644a8c77f 0841a7240a
Author: Dirk Mueller <email address hidden>
Date: Mon Feb 18 18:03:31 2013 +0100
Workaround Migration issue with PostgreSQL
For unknown reason, SQLAlchemy-Migrate does not pass default= True down to the ALTER TABLE statement.
the populate_
Therefore, create the column in two steps, which
avoids the IntegrityError.
Fixes LP Bug 1068181
Change-Id: I30770d8b29ec44 2576a66fc07b2c7 8e2440fb328