Files
family-hub/APPLY_MAJOR_UPDATE.bat

45 lines
983 B
Batchfile

@echo off
echo.
echo ========================================
echo APPLY MAJOR FEATURE UPDATE
echo ========================================
echo.
echo This will apply:
echo 1. Assignment type migration
echo 2. Restart backend to load new models
echo.
pause
cd /d D:\Hosted\familyhub
echo.
echo Step 1: Running migration...
echo.
cd backend
python migrations\004_add_assignment_type.py
cd ..
echo.
echo Step 2: Restarting backend...
echo.
call restart_backend.bat
echo.
echo ========================================
echo ✅ Backend updated!
echo ========================================
echo.
echo NEXT STEPS:
echo.
echo 1. Restart frontend (Ctrl+C, then npm run dev)
echo 2. Test the new features
echo.
echo NEW FEATURES:
echo - Admin can upload avatars for other users
echo - Chores have assignment types (any_one/all_assigned)
echo - Kiosk shows available chores
echo - Kiosk has completion confirmation modal
echo.
echo ========================================
pause