protected function generateBelongsToColumns($name, Annotation $annotation, EntityDefinition &$entityMetadata)
    {
        $relatedForeignKey = $annotation->relatedForeignKey ?: $this->generateKey($annotation->relatedEntity);

        $entityMetadata['table']['columns'][] = $this->getModifiedPrimaryKeyColumn($entityMetadata['table'], [
            'name' => $relatedForeignKey,
            'primary' => false,
            'options' => [
                'autoIncrement' => false
            ]
        ]);
    }