Credentials of postgres and initial DATABASE_URL are different

Thank you for great platform for my app.

I have a question.
I try to launch simple Remix app with PostgreSQL and Prisma.

When I execute fly launch, it is showed the credentials of postgres in terminal like below.

However, even when I connected to the database with these credentials, the table that was supposed to be migrated was not found.

So I made sure that the app’s DATABASE_URL of environment variable, and I found different value than the credentials like below.

User name and password are different.

So the DB connected when initialize and the DB displayed in the credentials are different.
There are two databases when apps are launched.

Which DB should I use for my app?

From Questions / Help to Build debugging

I solved it own.
PostgreSQL has default database and super user.
I have to create another database and user.
Thank you.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.