From 06218774a76dd71cb6725ed0f7d8da0140ca2aa2 Mon Sep 17 00:00:00 2001 From: Akhil Date: Mon, 28 Nov 2022 19:20:20 +0530 Subject: [PATCH] Add index for classification attribute --- .../Version1025Date20221114151721.php | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 apps/dav/lib/Migration/Version1025Date20221114151721.php diff --git a/apps/dav/lib/Migration/Version1025Date20221114151721.php b/apps/dav/lib/Migration/Version1025Date20221114151721.php new file mode 100644 index 0000000000000..110b5475261a1 --- /dev/null +++ b/apps/dav/lib/Migration/Version1025Date20221114151721.php @@ -0,0 +1,49 @@ +getTable('calendarobjects'); + $calendarObjectsTable->addIndex(['classification'], 'calendarobject_classification_index'); + + return $schema; + } + + /** + * @param IOutput $output + * @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper` + * @param array $options + */ + public function postSchemaChange(IOutput $output, Closure $schemaClosure, array $options): void { + } +}