13 lines
306 B
Python
13 lines
306 B
Python
import sqlalchemy.orm as orm
|
|
from sqlmodel import SQLModel
|
|
|
|
registry = orm.registry()
|
|
|
|
|
|
class TeaModel(SQLModel, registry=registry):
|
|
"""Base class for every TEA table.
|
|
|
|
Uses its own SQLAlchemy registry, like CaCu and CaMa, so each domain's
|
|
Alembic environment targets its own metadata.
|
|
"""
|