From 930012fda40e234f9745979c2b2d567333433f11 Mon Sep 17 00:00:00 2001 From: Julius Knorr Date: Thu, 15 Oct 2026 11:22:03 +0200 Subject: [PATCH] fix(migration): quote identifiers in oracle index creation Unquoted identifiers are folded to upper case by Oracle, but the text_steps table and its columns are created as quoted lowercase names. Signed-off-by: Julius Knorr Assisted-by: ClaudeCode:claude-opus-5-5 --- lib/Migration/Version080000Date20260331132113.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Migration/Version080000Date20260331132113.php b/lib/Migration/Version080000Date20260331132113.php index 7045e4ab40e..86e70b593e9 100644 --- a/lib/Migration/Version080000Date20260331132113.php +++ b/lib/Migration/Version080000Date20260331132113.php @@ -56,7 +56,7 @@ public function postSchemaChange(IOutput $output, \Closure $schemaClosure, array if ($this->connection->getDatabaseProvider() === IDBConnection::PLATFORM_POSTGRES) { $stm = $this->connection->prepare('CREATE INDEX CONCURRENTLY text_steps_doc_id_id_index ON *PREFIX*text_steps (document_id, id DESC);'); } elseif ($this->connection->getDatabaseProvider() === IDBConnection::PLATFORM_ORACLE) { - $stm = $this->connection->prepare('CREATE INDEX text_steps_doc_id_id_index ON *PREFIX*text_steps (document_id, id DESC) ONLINE;'); + $stm = $this->connection->prepare('CREATE INDEX text_steps_doc_id_id_index ON `*PREFIX*text_steps` (`document_id`, `id` DESC) ONLINE'); } elseif ($this->connection->getDatabaseProvider() === IDBConnection::PLATFORM_SQLITE) { $stm = $this->connection->prepare('CREATE INDEX text_steps_doc_id_id_index ON *PREFIX*text_steps (document_id, id DESC);'); } else {