Files
family-hub/commit_changes.bat

34 lines
1.0 KiB
Batchfile

@echo off
echo ============================================================
echo Committing Family Hub Changes to Git
echo ============================================================
echo.
cd D:\Hosted\familyhub
echo Staging all changes...
git add -A
echo.
echo Committing changes...
git commit -m "Fix: Add missing assignment_type field to chore API response
- Fixed get_chore_with_assignments() to include assignment_type in dict
- Updated init_db.py files to include assignment_type in demo chores
- Enhanced reset_database.py to run migrations after initialization
- Added clear_cache_and_reset.bat for Python cache management
- Added check_db.py utility for database inspection
This resolves the ResponseValidationError where assignment_type was
missing from API responses despite being present in the database."
echo.
echo Pushing to Gitea...
git push origin main
echo.
echo ============================================================
echo Commit Complete!
echo ============================================================
pause