planetscale prodcution and development branch string is the same #473
-
Hi, I'm new to planetscale, i can't tell which one is production and which one is development db branch due to that their username string and pass is the same for production and development branch, so when i try npx prisma db push on node.js, I got following error: Environment variables loaded from .env PS: This is frustrated. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
More dig on the problem: when I click on the main branch and click on connect button, the form show up always indicate i'm in dev branch and role is admin, the main branch is no where to be found, so the db string always show dev branch db string i guess. so where is main branch string? |
Beta Was this translation helpful? Give feedback.
-
i got ticket assisted that I demoted my dev branch from "this is a production branch" and it worked, no errors anymore. |
Beta Was this translation helpful? Give feedback.
No, when you create a new branch you also to have to create new credentials for it.