# X_MIGRATION_IRREVERSIBLE

## Means

this migration cannot be reversed without data loss

## Typical cause

a generated plan that drops a column or a table

## Fix

`x db gen "<name>" --allow-destructive`, or put the column back in `columns` and keep it

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