glance/glance/db
Liang Fang 72159a4a7b Fix for FK constraint violation
First force purging of records that are not soft deleted but are
referencing soft deleted tasks/images records (e.g. task_info records).
Then purge all soft deleted records in glance tables in the right order
to avoid FK constraint violation.

Closes-Bug: #1803643
Change-Id: I1c471adce002545f8965a57ef78a57e1e3031ef0
Co-authored-by: Tee Ngo <tee.ngo@windriver.com>
Signed-off-by: Liang Fang <liang.a.fang@intel.com>
2018-12-07 11:19:31 +08:00
..
registry Fix some reST field lists in docstrings 2017-03-25 00:35:17 -07:00
simple Multihash implementation for Glance 2018-07-31 21:28:38 -04:00
sqlalchemy Fix for FK constraint violation 2018-12-07 11:19:31 +08:00
__init__.py Multihash implementation for Glance 2018-07-31 21:28:38 -04:00
metadata.py Provide a way to upgrade metadata definitions 2015-03-12 00:26:16 -04:00
migration.py Open Rocky for data migrations 2018-03-08 10:36:01 -05:00
utils.py Add the missing i18n import 2017-08-07 09:28:54 +08:00