Spaces:
Runtime error
Runtime error
Greg
Claude Opus 4.7 (1M context)
Preparar despliegue en fly.io: monolito dockerizado + seeder demo
6aa6081 Download backend/fix_migration2.py from Talosware/talos-access: direct link, hf CLI and curl.
- Browser
- Download file 223 Bytes
-
https://huggingface.co/spaces/Talosware/talos-access/resolve/main/backend/fix_migration2.py
- Command line
-
hf download hf://spaces/Talosware/talos-access/backend/fix_migration2.py
-
curl -L -o fix_migration2.py https://huggingface.co/spaces/Talosware/talos-access/resolve/main/backend/fix_migration2.py
223 Bytes
| from app.core.database import SessionLocal | |
| from sqlalchemy import text | |
| db = SessionLocal() | |
| db.execute(text("UPDATE alembic_version SET version_num = '003'")) | |
| db.commit() | |
| db.close() | |
| print("Reverted alembic version to 003") | |