---
title: influxd inspect merge-schema
description: The influxd inspect merge-schema command merges a set of schema files.
url: https://docs.influxdata.com/influxdb/v2/reference/cli/influxd/inspect/merge-schema/
estimated_tokens: 409
product: InfluxDB OSS v2
version: v2
publisher: InfluxData
canonical: https://docs.influxdata.com/influxdb/v2/reference/cli/influxd/inspect/merge-schema/
date: '2023-11-06T15:53:12-07:00'
lastmod: '2023-11-06T15:53:12-07:00'
---

This page documents an earlier version of InfluxDB OSS.[InfluxDB 3 Core](/influxdb3/core/) is the latest stable version.

#### API token hashing is enabled by default in InfluxDB OSS 2.9.0

Stronger token security: tokens are stored as hashes on disk, so a
copy of the database file doesn’t expose usable tokens. Existing
tokens are hashed on first startup and the original strings can’t
be recovered afterward — **capture any plaintext tokens you still
need before you upgrade**.

For more information, see [Token hashing](/influxdb/v2/admin/tokens/#token-hashing).

The `influxd inspect merge-schema` command merges a set of schema files.

## Usage

```sh
influxd inspect merge-schema [flags]
```

## Flags

|Flag|                  |                         Description                         |Input Type|
|----|------------------|-------------------------------------------------------------|----------|
|    |`--conflicts-file`|File to write shard conflicts to (default is `conflicts.json`|  string  |
|`-h`|     `--help`     |          View help for the `merge-schema` command.          |          |
|    | `--schema-file`  |  File to write schema data to (default is `schema.json`).   |  string  |

[shards](/influxdb/v2/tags/shards/)[inspect](/influxdb/v2/tags/inspect/)
| Flag |  | Description | Input Type |
| --- | --- | --- | --- |
| Flag |  | Description | Input Type |
|  | --conflicts-file | File to write shard conflicts to (default is  conflicts.json | string |
| -h | --help | View help for the  merge-schema  command. |  |
|  | --schema-file | File to write schema data to (default is  schema.json ). | string |
