X_MIGRATION_CONCURRENT_IN_TRANSACTION
Means
a concurrent index statement is in a migration that runs inside a transaction
Typical cause
a hand-written migration holds create index concurrently, drop index concurrently or reindex … concurrently but no -- transaction: false line, and Postgres refuses all three inside a transaction block (25001). Refused before the transaction opens, so nothing is applied
Fix
sed -i '1i -- transaction: false' packages/db/migrations/<id>.sql — before it is applied — or move the statement into a migration of its own