
- 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
7 lines
194 B
Python
7 lines
194 B
Python
# 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"]
|