Files
OpenHands/enterprise/storage/slack_conversation.py
Rohit Malhotra 5fb431bcc5 feat: Implement Slack V1 integration following GitHub V1 pattern (#11825)
Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: Tim O'Farrell <tofarr@gmail.com>
2026-01-08 13:08:11 -07:00

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)