diff --git a/src/bundle/Command/MigrateLegacyMatrixCommand.php b/src/bundle/Command/MigrateLegacyMatrixCommand.php index 4f28a65..1e41fa6 100644 --- a/src/bundle/Command/MigrateLegacyMatrixCommand.php +++ b/src/bundle/Command/MigrateLegacyMatrixCommand.php @@ -247,7 +247,7 @@ private function getContentClassAttributes(): array 'class.identifier as contenttype_identifier', ]) ->from(ContentTypeGateway::FIELD_DEFINITION_TABLE, 'attr') - ->join('attr', ContentTypeGateway::CONTENT_TYPE_TABLE, 'class', 'class.id = attr.contentclass_id') + ->join('attr', ContentTypeGateway::CONTENT_TYPE_TABLE, 'class', 'class.id = attr.content_type_id') ->where('attr.data_type_string = :identifier') ->setParameter('identifier', self::EZMATRIX_IDENTIFIER);