cinder/cinder/db
Liang Fang 042ad4025a Fix for cinder-manage db purge
When backend database is postgresql, "cinder-manage db purge" will throw
an exception. The root cause is that "deleted" column in table
quality_of_service_specs is of type boolean, but it is compared with an
integer. In mysql, there's no such issue because boolean in mysql is
tinyint(1).

Some logs:
DBAPIError exception wrapped from (psycopg2.ProgrammingError) operator
does not exist: boolean = integer

Closes-Bug: #1797048

Change-Id: I05b0edef4cc56518e99622599f01dbd6280a7f1b
Signed-off-by: Liang Fang <liang.a.fang@intel.com>
2018-10-10 03:10:32 -04:00
..
sqlalchemy Fix for cinder-manage db purge 2018-10-10 03:10:32 -04:00
__init__.py Enable flake8 H303,H304 checking 2014-04-15 09:16:01 +00:00
api.py Transfer snapshots with volumes 2018-07-19 09:42:43 +08:00
base.py Add ability to specify backup driver via class name 2017-10-11 12:59:00 +03:00
migration.py Compact Newton database migrations 2017-09-26 00:32:21 -05:00