Hey Folks, I am trying to deploy my prisma applic...
# prisma-migrate
k
Hey Folks, I am trying to deploy my prisma application in DigitalOcean but I am getting error when migration script is run. This is the error. I can run migrate in my local no problem.
j
how is the env var?
did you check the
.env
file?
k
I am using DATABASE_URL from Digital Ocean like below.
j
is it in the linux environment when you execute the prisma command?
k
yes I think so
j
what does
env
command say, can you see the
DATABASE￱_￱URL
defined
k
Unfortunately I cannot see DATABASE_URL
j
export DATABASE￱_￱URL="postgres://..."
and then run prisma again?
k
Where should I add export DATABASE_URL="post..."? In Dockerfile?
j
depending on your deployment and environment, there are many ways of doing this, some place that is not pushed to a public repository and is kept secret
f
@Kiran you might want to revoke that pw asap!
j
Deleted the message with the connection string - but please reset it anyway @Kiran - someone might already have seen it and could start abusing it now.
1
k
Oo thank you for deleting my message.
👍 1