# X_SCHEMA_DUMP_DRIFT

## Means

the committed schema dump is not what the migrations produce

## Typical cause

a file under `packages/db/schema/` was edited by hand, a migration was written or changed without regenerating the dump, or the dump was never generated. The cause names the first file that differs; a dump that does not load back into the schema it was rendered from reports here too

## Fix

`x db gen`

[Entity and database](/error-codes#entity-and-database)
