Paper Dynasty Database - PostgreSQL database service
Cal Corum
11a499c0ec
feat: SQL migration for evolution tables and variant/image_url columns (#69)
Closes #69
- Create migrations/2026-03-12_add_evolution_tables.sql: idempotent
PostgreSQL migration (BEGIN/COMMIT, all IF NOT EXISTS) that creates
player_season_stats, evolution_track, evolution_card_state,
evolution_tier_boost, and evolution_cosmetic tables; adds card.variant
(INTEGER NULL DEFAULT NULL), battingcard.image_url (VARCHAR(500) NULL),
and pitchingcard.image_url (VARCHAR(500) NULL).
- Add tests/test_evolution_migration.py: 16 unit tests validate SQL file
structure (tables, columns, indexes, FK references, idempotency); 6
integration tests annotated for PostgreSQL execution when POSTGRES_HOST
is set.
- Add tests/__init__.py and tests/conftest.py (shared test infrastructure
required for import isolation).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-03-12 18:08:31 -05:00 |
|
.gitea/workflows
|
ci: Use docker-tags composite action for multi-channel release support
|
2026-03-05 15:40:06 -06:00 |
|
app
|
Merge pull request 'fix: use max() for pitcher OPS split weighting (#6)' (#60) from ai/paper-dynasty-database#6 into next-release
|
2026-03-10 14:42:59 +00:00 |
|
docs
|
Remove deprecated legacy files and reorganize documentation
|
2026-02-05 13:34:09 -06:00 |
|
migrations
|
feat: SQL migration for evolution tables and variant/image_url columns (#69)
|
2026-03-12 18:08:31 -05:00 |
|
scripts
|
Add production deployment config and fix stringified list parsing
|
2026-01-30 14:03:07 -06:00 |
|
storage/templates
|
Add missing card templates for PostgreSQL deployment
|
2026-02-01 19:18:04 -06:00 |
|
tests
|
feat: SQL migration for evolution tables and variant/image_url columns (#69)
|
2026-03-12 18:08:31 -05:00 |
|
.dockerignore
|
Add .dockerignore
|
2026-01-30 22:47:07 -06:00 |
|
.env
|
fix: correct inverted TESTING env check and leading space in .env (#23)
|
2026-03-03 21:43:54 +00:00 |
|
.env.example
|
CLAUDE: Add .env.example with comprehensive configuration guide
|
2025-11-07 11:53:23 -06:00 |
|
.gitignore
|
ci: Use Gitea API for tag creation to avoid branch protection issues
|
2026-02-17 17:23:21 -06:00 |
|
CLAUDE.md
|
docs: add next-release branch workflow to CLAUDE.md
|
2026-03-03 10:56:03 -06:00 |
|
compose.production.yml
|
Add production deployment config and fix stringified list parsing
|
2026-01-30 14:03:07 -06:00 |
|
docker-compose.yml
|
CLAUDE: Comment out API service - prevents race condition in db_engine.py
|
2025-11-07 14:07:13 -06:00 |
|
Dockerfile
|
chore: pin all Python dependency versions in requirements.txt (#64)
|
2026-03-10 01:35:31 -05:00 |
|
LICENSE
|
Initial commit
|
2023-02-19 21:38:07 -06:00 |
|
requirements.txt
|
chore: pin all Python dependency versions in requirements.txt (#64)
|
2026-03-10 01:35:31 -05:00 |
|
VERSION
|
Bump version to 1.5.5
|
2026-02-04 08:48:12 -06:00 |