diff --git a/start.sh b/start.sh index 1308999..2aabd07 100755 --- a/start.sh +++ b/start.sh @@ -186,8 +186,16 @@ case $choice in read -p "Are you sure? [y/N]: " confirm if [[ $confirm == [yY] || $confirm == [yY][eE][sS] ]]; then + echo -e "\n${BLUE}🔹 Step 1/3: Dropping all tables...${NC}" npm run seed:reset - echo -e "\n${GREEN}✅ Database reset and seeded!${NC}" + + echo -e "\n${BLUE}🔹 Step 2/3: Running migrations...${NC}" + npm run migrate + + echo -e "\n${BLUE}🔹 Step 3/3: Seeding data...${NC}" + npm run seed + + echo -e "\n${GREEN}✅ Database fully reset and seeded!${NC}" else echo -e "${YELLOW}Cancelled.${NC}" fi