mirror of
https://github.com/All-Hands-AI/OpenHands.git
synced 2026-04-29 03:00:45 -04:00
16 lines
520 B
Python
16 lines
520 B
Python
"""
|
|
Unified SQLAlchemy declarative base for all models.
|
|
|
|
Re-exports the core Base to ensure enterprise and core models share the same
|
|
metadata registry. This allows foreign key relationships between enterprise
|
|
models and core models (e.g., StoredConversationMetadata).
|
|
|
|
The core Base now uses SQLAlchemy 2.0 DeclarativeBase for proper type inference
|
|
with Mapped types, while remaining backward compatible with existing Column()
|
|
definitions.
|
|
"""
|
|
|
|
from openhands.app_server.utils.sql_utils import Base
|
|
|
|
__all__ = ['Base']
|