Noob question:
So I have a NextJS project with Prisma. Currently I have db.ts file with this code: ```ts
export const db =
globalForPrisma.prisma ??
new PrismaClient({
log: env.NODE_ENV === "development" ? ["error"] : ["error"],
datasourceUrl:
env.NODE_ENV === "development" ? env.DATABASE_URL_DEV : env.DATABASE_URL,
});
if (env.NODE_ENV !== "production") globalForPrisma.prisma = db;```
This is perfect cause it chooses the right DATABASE_URL depending if im dev or prod. However, when I run prisma db push it chooses the one I have in prisma.schema. How would I solve this so it uses the dev one when pushing locally and prod one when in prod? Whats the best practise here?