I have a database running in a kubernetes cluster,...
# orm-help
d
I have a database running in a kubernetes cluster, which I can access locally. The database is empty and I wanted to use it with prisma, but I struggle to initialize it. Locally I always used the the prisma cli, but what do I do on the cluster?
j
You give Prisma the connection URL as a ENV var and use it in the schema.
(You are talking about Prisma 2, not Prisma 1, right?)
d
Yes about prisma 2. My problem was about how I trigger the cli, I just added prisma migrate deploy to my npm start script which seems to work