PrismaP
Prisma2y ago
11 replies
Amauri

Help With 2 database usage in same api

hey guys what's up? i have a project running with postgresql, but in the same application i also have to run mysql on some occasions.
I have already configured the connections and everything is ok.
my question is, is there any way in the CLI to avoid having to put --schema=./prisma/schema-postgresql.prisma at the end when executing any command?
I'm thinking something like yarn prisma generate --mysql
Was this page helpful?