mirror of
https://github.com/OpenHands/OpenHands.git
synced 2026-03-22 13:47:19 +08:00
Co-authored-by: openhands <openhands@all-hands.dev> Co-authored-by: Tim O'Farrell <tofarr@gmail.com>
13 lines
514 B
Python
13 lines
514 B
Python
from sqlalchemy import Boolean, Column, Identity, Integer, String
|
|
from storage.base import Base
|
|
|
|
|
|
class SlackConversation(Base): # type: ignore
|
|
__tablename__ = 'slack_conversation'
|
|
id = Column(Integer, Identity(), primary_key=True)
|
|
conversation_id = Column(String, nullable=False, index=True)
|
|
channel_id = Column(String, nullable=False)
|
|
keycloak_user_id = Column(String, nullable=False)
|
|
parent_id = Column(String, nullable=True, index=True)
|
|
v1_enabled = Column(Boolean, nullable=True)
|