> ## Documentation Index
> Fetch the complete documentation index at: https://loadwise.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# migration-table-rewrite-command

> A migration runs VACUUM FULL, CLUSTER or REINDEX, which rewrites or locks the table.

## What it flags

A PostgreSQL `VACUUM FULL`, `CLUSTER`, or non-concurrent `REINDEX` that can hold locks for the duration of the operation.

## Configuration

Set the rule to `"off"` in `loadwise.config.json` to drop its findings:

```json theme={null}
{
  "rules": { "migration-table-rewrite-command": "off" }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.