IndexDeletion operation have ClearAll details

This commit is contained in:
Kerollmops 2022-10-05 16:56:25 +02:00 committed by Clément Renault
parent a083c9e452
commit f1b1cfdbcc
No known key found for this signature in database
GPG Key ID: 92ADA4E935E71FA4

View File

@ -279,7 +279,7 @@ impl KindWithContent {
KindWithContent::Settings { new_settings, .. } => Some(Details::Settings { KindWithContent::Settings { new_settings, .. } => Some(Details::Settings {
settings: new_settings.clone(), settings: new_settings.clone(),
}), }),
KindWithContent::IndexDeletion { .. } => Some(Details::IndexInfo { primary_key: None }), KindWithContent::IndexDeletion { .. } => None,
KindWithContent::IndexCreation { primary_key, .. } KindWithContent::IndexCreation { primary_key, .. }
| KindWithContent::IndexUpdate { primary_key, .. } => Some(Details::IndexInfo { | KindWithContent::IndexUpdate { primary_key, .. } => Some(Details::IndexInfo {
primary_key: primary_key.clone(), primary_key: primary_key.clone(),