@echo off echo ======================================== echo Family Hub - Database Migrations echo ======================================== echo. echo This will add new features to your database: echo 1. Birthday field for users echo 2. Multiple users per chore support echo. echo Your existing data will be preserved! echo. pause cd backend echo. echo Activating virtual environment... call venv\Scripts\activate.bat echo. echo Running Migration 1: Add Birthday Field echo ======================================== python migrations\001_add_birthday_field.py if errorlevel 1 ( echo. echo Migration 1 failed! Please check the error above. pause exit /b 1 ) echo. echo Running Migration 2: Multiple Users Per Chore echo ======================================== python migrations\002_add_multi_user_chores.py if errorlevel 1 ( echo. echo Migration 2 failed! Please check the error above. pause exit /b 1 ) echo. echo ======================================== echo All Migrations Complete! echo ======================================== echo. echo New Features Available: echo ✅ Users can now have birthdays echo ✅ Chores can be assigned to multiple users echo. echo Next Steps: echo 1. Restart the backend server echo 2. Update user birthdays in Settings echo 3. Assign chores to multiple users echo. pause