Spaces:
Runtime error
Runtime error
File size: 223 Bytes
6aa6081 | 1 2 3 4 5 6 7 8 9 | 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")
|