X_ENTITY_PARTITION_INVALID
Means
entity({ partitionBy }) declares a partitioning Postgres cannot build
Typical cause
the primary key or a unique index does not hold the partition column, the column is no timestamp() or date(), the interval is unknown, or retain/view/history sits beside it
Fix
edit the entity's partitionBy as the error's cause says — e.g. primaryKey: ['id', 'at'] — then x db gen "partition"