Kijan pou mwen jere migrasyon baz done nan yon pwojè Next.js?
asked 25 days ago400 viewsht
Mwen gen yon pwojè Next.js ak PostgreSQL. Ki zouti mwen ta dwe itilize pou migrasyon (Prisma, Drizzle, SQL brut)? Kijan pou m jere sa an pwodiksyon?
🤖 AI diagnosis
AI-generated. Not an answer — the community below confirms or corrects it. Always verify before relying on it.
2 Answers
In modern .NET (no SynchronizationContext in ASP.NET Core, console, or worker apps) ConfigureAwait(false) is a micro-optimization. In libraries that might run under WPF/WinForms/legacy ASP.NET, keep it. It never hurts.
Sign in to tell others whether this worked.
Prisma is the most productive choice: typed client, prisma migrate for versioned SQL, and migrate deploy in CI/production. Keep migrations in git, never edit applied ones, and run migrate deploy as a release step.
Sign in to tell others whether this worked.
Sign in and verify your email to post an answer.