gitignore: ignore ALL database/*.db (+ -shm/-wal/backup), not just music_library

video_library.db wasn't covered, so it showed up as untracked and could be
committed by accident (live user data). Generalize the database patterns to a
glob so every current/future app DB is auto-ignored. database/*.py sources are
unaffected. (config/youtube_cookies.txt was already ignored — it only slipped
through earlier because it had been force-staged.)
This commit is contained in:
BoulderBadgeDad 2026-06-24 08:57:54 -07:00
parent 4c47c01076
commit 0f2d6ddb63

9
.gitignore vendored
View file

@ -13,10 +13,11 @@ __pycache__/
# User-specific files (auto-created by the app if missing) # User-specific files (auto-created by the app if missing)
config/config.json config/config.json
config/youtube_cookies.txt config/youtube_cookies.txt
database/music_library.db # All app databases are live user data — never commit (music_library, video_library, …)
database/music_library.db-shm database/*.db
database/music_library.db-wal database/*.db-shm
database/music_library.db.backup_* database/*.db-wal
database/*.db.backup_*
database/api_call_history.json database/api_call_history.json
storage/image_cache/ storage/image_cache/
logs/*.log logs/*.log