How to automatically run migration on NextJS start
The docs is not clear on how to do it. It still uses
npx tsx src/index.ts
which is a CLI command instead of runtime.3 Replies
npx tsx src/index.ts
which is a CLI command instead of runtime.