Spaces:
Sleeping
Sleeping
| """ | |
| SQLAlchemy Declarative Base — shared by all ORM models. | |
| All ORM model files inside models/ import Base from here. | |
| The database engine (config/database_config.py) also imports | |
| Base here to call Base.metadata.create_all() on startup. | |
| """ | |
| from sqlalchemy.orm import DeclarativeBase | |
| class Base(DeclarativeBase): | |
| """Base class for all ORM models in this project.""" | |
| pass | |