- Add db_helpers.py with cross-database upsert functions for SQLite/PostgreSQL - Replace 12 on_conflict_replace() calls with PostgreSQL-compatible upserts - Add unique indexes: StratPlay(game, play_num), Decision(game, pitcher) - Add max_length to Team model fields (abbrev, sname, lname) - Fix boolean comparison in teams.py (== 0/1 to == False/True) - Create migrate_to_postgres.py with ID-preserving migration logic - Create audit_sqlite.py for pre-migration data integrity checks - Add PROJECT_PLAN.json for migration tracking - Add .secrets/ to .gitignore for credentials Audit results: 658,963 records across 29 tables, 2,390 orphaned stats (expected) Based on Major Domo migration lessons learned (33 issues resolved there)
81 lines
1002 B
Plaintext
81 lines
1002 B
Plaintext
# These are some examples of commonly ignored file patterns.
|
|
# You should customize this list as applicable to your project.
|
|
# Learn more about .gitignore:
|
|
# https://www.atlassian.com/git/tutorials/saving-changes/gitignore
|
|
|
|
# Node artifact files
|
|
node_modules/
|
|
dist/
|
|
|
|
# Compiled Java class files
|
|
*.class
|
|
|
|
# Compiled Python bytecode
|
|
*.py[cod]
|
|
|
|
# Log files
|
|
*.log
|
|
|
|
# Package files
|
|
*.jar
|
|
|
|
# Maven
|
|
target/
|
|
dist/
|
|
|
|
# JetBrains IDE
|
|
.idea/
|
|
|
|
# Unit test reports
|
|
TEST*.xml
|
|
|
|
# Generated by MacOS
|
|
.DS_Store
|
|
|
|
# Generated by Windows
|
|
Thumbs.db
|
|
|
|
# Applications
|
|
*.app
|
|
*.exe
|
|
*.war
|
|
|
|
# Large media files
|
|
*.mp4
|
|
*.tiff
|
|
*.avi
|
|
*.flv
|
|
*.mov
|
|
*.wmv
|
|
|
|
# Project specific
|
|
__pycache__
|
|
Include/
|
|
Lib/
|
|
Scripts/
|
|
storage/
|
|
pyenv.cfg
|
|
pyvenv.cfg
|
|
docker-compose.override.yml
|
|
docker-compose.*.yml
|
|
*.db
|
|
venv
|
|
.claude/
|
|
CLAUDE.md
|
|
|
|
# Environment variables (NEVER commit these!)
|
|
.env
|
|
.env.local
|
|
.env.*.local
|
|
|
|
# Database backups
|
|
*_backup_*
|
|
*.bak
|
|
*.backup
|
|
|
|
# PostgreSQL data directory (local mount)
|
|
postgres_data/
|
|
|
|
# PostgreSQL credentials
|
|
.secrets/
|