Major Domo Database - PostgreSQL database service for SBA bot
- Fixed 4 critical schema issues blocking migration - Resolved integer overflow by converting Discord IDs to strings - Fixed VARCHAR length limits for Google Photos URLs - Made injury_count field nullable for NULL values - Successfully migrating 7/30 tables (5,432+ records) Issues resolved: - CONSTRAINT-CURRENT-INJURY_COUNT-001: Made nullable - DATA_QUALITY-PLAYER-NAME-001: Increased VARCHAR limits to 1000 - MIGRATION_LOGIC-TEAM-INTEGER-001: Discord IDs now strings - MIGRATION_LOGIC-DRAFTDATA-INTEGER-001: Channel IDs now strings New issues discovered for Phase 2: - CONSTRAINT-CURRENT-BSTATCOUNT-001: NULL stats count - CONSTRAINT-TEAM-AUTO_DRAFT-001: NULL auto draft flag 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| app | ||
| test-storage | ||
| .dockerignore | ||
| .gitignore | ||
| =2.9.0 | ||
| CUSTOM_COMMANDS_MIGRATION.md | ||
| DATA_SANITIZATION_TEMPLATE.md | ||
| db_engine.py | ||
| docker-compose.yml | ||
| Dockerfile | ||
| LICENSE | ||
| main.py | ||
| migrate_custom_commands.py | ||
| migrate_to_postgres.py | ||
| migration_issues_tracker.md | ||
| MIGRATION_METHODOLOGY.md | ||
| MIGRATION_QUICK_REFERENCE.md | ||
| migrations.py | ||
| pd_master.db | ||
| PRODUCTION_MIGRATION_CHECKLIST.md | ||
| requirements.txt | ||
| reset_postgres.py | ||
| test_migration_workflow.sh | ||
| test_postgres.py | ||
| validate_migration.py | ||