Fullstack Engineer
Web Developer
MySQL
Next.js
Tailwind CSS
db push
: Typically with Prisma you use prisma migrate
in order to generate SQL migrations for you based on changes in Prisma Schema. But in this context since the resposiblity of actually applying the schema changes in on PlanetScale side (along with having different branches for your schema ✨) , we need to use db push
instead.next dev
for local developement, it clears Node.js cache on run. This in turn initializes a new PrismaClient instance each time due to hot reloading which can quickly exhaust the database connections as each PrismaClient
instance holds its own connection pool.Posted Sep 13, 2023
Lumia is a Q&A platform tailored to courses from schools and universities, helping students prepare more effectively for academic success.
0
13
Fullstack Engineer
Web Developer
MySQL
Next.js
Tailwind CSS