There is a Action Required for Upgrading in release note state that You must change the path for each script individually and run it separately.
added script in // apps/api/package.json
run cd apps/api
npm run migration
its throwing error that '../../src/config' model not found.
above code is there inside script we are running apps/api/migrations/integration-scheme-update/add-primary-priority-migration.ts
FYI: npm, selfhost, local, container, kubernetes