public function deleteDocumentTableFor($documentName)
    {
        $class = $this->dm->getClassMetadata($documentName);

        if ($class->isMappedSuperclass || $class->isEmbeddedDocument) {
            throw ODMException::cannotDeleteMappedSuperclassTable($documentName);
        }

        $this->doDeleteTable($class->getTableName(), $class->getDefinitionTable());
    }