vmoves table purge support

Change-Id: I10b4793d0471a26df4381988670334a695067d27
This commit is contained in:
suzhengwei
2023-02-16 11:11:01 +08:00
parent 20db09fe0a
commit 3e1b85133a

View File

@@ -617,6 +617,10 @@ def notification_delete(context, notification_uuid):
if count == 0:
raise exception.NotificationNotFound(id=notification_uuid)
model_query(context, models.VMove).filter_by(
notification_uuid=notification_uuid).soft_delete(
synchronize_session=False)
# db apis for vm moves