public function rebuildDocumentTableFor($documentName)
    {
        $class      = $this->dm->getClassMetadata($documentName);
        $table      = $class->getTableName();
        $defintiion = $class->getDefinitionTable();

        $this->doDeleteTable($table, $defintiion);
        $this->doCreateTable($table, $defintiion);
    }