diff --git a/lib/Migration/Version0034Date20260428110733.php b/lib/Migration/Version0034Date20260428110733.php new file mode 100644 index 000000000..6c842e479 --- /dev/null +++ b/lib/Migration/Version0034Date20260428110733.php @@ -0,0 +1,45 @@ +getTable('circles_event'); + if ($table->hasIndex('circles_event_sc_cr')) { + return null; + } + + $table->addIndex(['status', 'creation'], 'circles_event_sc_cr'); + } catch (SchemaException $e) { + $this->logger->warning('Could not add index to circles_event', ['exception' => $e]); + return null; + } + + return $schema; + } +}