Fix Base import in db/base.py for Alembic migrations

- Updated app/db/base.py to properly export Base class
- Fixed error when running Alembic migrations due to missing Base import
- Added proper imports for models
This commit is contained in:
Automated Action 2025-05-24 22:47:10 +00:00
parent 2f75e43b7f
commit c0ee807199

View File

@ -1 +1,6 @@
# Import all models for Alembic to detect
# Import all models and base for Alembic to detect
from app.db.base_class import Base # noqa
from app.models.todo import Todo # noqa
# Export Base for other modules to use
__all__ = ["Base"]