N
Neon5mo ago
genetic-orange

I am trying to run test migrations by creating a branch in neon for db of my already deployed app

The flask app is deployed on render and I am following the article for this purpose my app also connects to redis when launched so I have made changes to the workflow given in the article (basically it spins up a redis server and checks it via redis client with a PING request) I have added an API key and added my NEON_PROJECT_ID and NEON_API_KEY but I am getting the following error
branch doesn't exist, branch id: br-restless-shape-a1yqjyx0
ERROR: Database not found: neondb
Error: Process completed with exit code 1.
branch doesn't exist, branch id: br-restless-shape-a1yqjyx0
ERROR: Database not found: neondb
Error: Process completed with exit code 1.
here is my workflow
Neon
Managing database migrations and schema changes with Flask and Neon...
Learn how to handle database migrations and schema changes in a Flask application using Flask-Migrate and Neon Postgres
GitHub
Update mig.yaml · devansh-srv/Carbon-Credit@19a4a1e
Contribute to devansh-srv/Carbon-Credit development by creating an account on GitHub.
1 Reply
fair-rose
fair-rose5mo ago
Create database in new branch
Curious why you need this step? When you create a branch, all of your data will be included by default

Did you find this page helpful?