From 6266b93cf1a25a7c85f01d72d45253535b15452c Mon Sep 17 00:00:00 2001 From: satyapadala Date: Sat, 20 Dec 2025 04:14:30 +0530 Subject: [PATCH] [chore] fix setup.sh for migrateup task --- setup.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.sh b/setup.sh index 16bdbdb..06face4 100755 --- a/setup.sh +++ b/setup.sh @@ -26,7 +26,7 @@ wait_for_postgres() { echo -e "${BLUE}→ Waiting for PostgreSQL to be ready...${NC}" local max_attempts=30 local attempt=0 - + cd "$BACKEND_DIR" while [ $attempt -lt $max_attempts ]; do @@ -97,6 +97,7 @@ echo "" # Phase 3: Run Database Migrations echo -e "${BLUE}🗄️ Phase 3: Running Database Migrations${NC}" +cd "$BACKEND_DIR" make migrateup if [ $? -ne 0 ]; then