
- Created a dedicated base_class.py file to define the SQLAlchemy Base - Updated all models to import Base from base_class.py instead of session.py - Modified migrations/env.py to properly import models and Base - Fixed circular dependency between models and base classes
3 lines
82 B
Python
3 lines
82 B
Python
from sqlalchemy.ext.declarative import declarative_base
|
|
|
|
Base = declarative_base() |