From 9e8fd2c6ce1c95fd0820dfd91076efe6fa611378 Mon Sep 17 00:00:00 2001 From: Bastian Waidelich Date: Thu, 19 Sep 2024 09:50:51 +0200 Subject: [PATCH] BUGFIX: Remove default value for subtreetags to fix MySQL support Fixes: #5252 --- .../src/DoctrineDbalContentGraphSchemaBuilder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Neos.ContentGraph.DoctrineDbalAdapter/src/DoctrineDbalContentGraphSchemaBuilder.php b/Neos.ContentGraph.DoctrineDbalAdapter/src/DoctrineDbalContentGraphSchemaBuilder.php index 1a31b80053..9909a2596e 100644 --- a/Neos.ContentGraph.DoctrineDbalAdapter/src/DoctrineDbalContentGraphSchemaBuilder.php +++ b/Neos.ContentGraph.DoctrineDbalAdapter/src/DoctrineDbalContentGraphSchemaBuilder.php @@ -70,7 +70,7 @@ private function createHierarchyRelationTable(): Table DbalSchemaFactory::columnForDimensionSpacePointHash('dimensionspacepointhash')->setNotnull(true), DbalSchemaFactory::columnForNodeAnchorPoint('parentnodeanchor'), DbalSchemaFactory::columnForNodeAnchorPoint('childnodeanchor'), - (new Column('subtreetags', self::type(Types::JSON)))->setDefault('{}'), + (new Column('subtreetags', self::type(Types::JSON))), ]); return $table