public function rewriteTable($tableName, $tableConfig = null)
    {
        if ($this->hasTable($tableName)) {
            $this->deleteTable($tableName);
        }

        return $this->create($tableName, $tableConfig);
    }