From 786a0bb86a566f97b313cc4a1776227bdde2881b Mon Sep 17 00:00:00 2001 From: Stefan Heimes Date: Mon, 19 Jun 2023 12:32:38 +0200 Subject: [PATCH] Update SqlCommandsListener.php Fix a problem with the Contao 4.13 database migration. --- src/EventListener/SqlCommandsListener.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/EventListener/SqlCommandsListener.php b/src/EventListener/SqlCommandsListener.php index c687bc4..c439f88 100644 --- a/src/EventListener/SqlCommandsListener.php +++ b/src/EventListener/SqlCommandsListener.php @@ -35,7 +35,7 @@ public function __invoke(array $queries): array continue; } - $queries[$view->getName()] = $this->connection->getDatabasePlatform()->getCreateViewSQL( + $queries['hofff-contao-language-relations'][$view->getName()] = $this->connection->getDatabasePlatform()->getCreateViewSQL( $view->getName(), $view->getSql() );