Schema compatibility error

The database is behind the application code

Schema compatibility failure: application code expects migration idx 22 to be applied, but live database is at idx (no migrations). Apply pending migrations before serving requests. 

To resolve:
  1. From apps/cadence: pnpm drizzle-kit migrate
  2. Restart the application process so this guard re-checks.

If you've intentionally rolled the schema back below the application's expectations, roll the application code back too — running ahead of the schema produces silent runtime errors.