private function addForeignKeysMessage($tableName, ForeignKeyConstraint $foreignKey, $format)
    {
        $this->addMessage(
            $tableName,
            sprintf(
                $format,
                implode(', ', $foreignKey->getUnquotedLocalColumns()),
                $foreignKey->getForeignTableName(),
                implode(', ' . $foreignKey->getForeignTableName() . '.', $foreignKey->getUnquotedForeignColumns())
            )
        );
    }