File size: 384 Bytes
b84ea83
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
"""
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