Complete backend verification: fix syntax errors, create __init__.py files, add setup_db.py, update docker-compose for two PostgreSQL containers
This commit is contained in:
@@ -12,7 +12,7 @@ Migrate from internal database to Dockerized PostgreSQL with mtgjson.com "All Pr
|
||||
│ │ Backend Container │───▶│ PostgreSQL Container │ │
|
||||
│ │ (FastAPI app) │ │ (MTG Data + App DB) │ │
|
||||
│ │ │ │ │ │
|
||||
│ │ - API endpoints │ │ - cockatrice_db (app) │ │
|
||||
│ │ - API endpoints │ │ - mtgonline_db (app) │ │
|
||||
│ │ - Auth system │ │ - mtgdata_db (mtgjson) │ │
|
||||
│ │ - Weekly refresh │ │ │ │
|
||||
│ └─────────────────────┘ └──────────────────────────┘ │
|
||||
@@ -37,7 +37,7 @@ Migrate from internal database to Dockerized PostgreSQL with mtgjson.com "All Pr
|
||||
### 3. Database Migration
|
||||
- [ ] Create migration script for mtgjson schema
|
||||
- [ ] Update models.py with MTG card models
|
||||
- [ ] Add multi-database support (cockatrice + mtgdata)
|
||||
- [ ] Add multi-database support (mtgonline + mtgdata)
|
||||
- [ ] Create schema for weekly refresh
|
||||
|
||||
### 4. Weekly Refresh Logic
|
||||
|
||||
Reference in New Issue
Block a user