feat: call transcripts api

fix: other small fixes
This commit is contained in:
2025-05-30 15:32:31 +05:30
parent 4df268c8ac
commit 0b6d2442a8
9 changed files with 89 additions and 30 deletions
+4 -3
View File
@@ -1,4 +1,4 @@
from sqlalchemy import Column, Integer, String
from sqlalchemy import Column, Integer, String, DateTime
from database import Base
@@ -9,9 +9,10 @@ class CallTranscripts(Base, CustomBase):
__tablename__ = "call_transcripts"
id = Column(Integer, primary_key=True, index=True)
patient_name = Column(String)
patient_name = Column(String, nullable=True)
patient_number = Column(String)
call_duration = Column(String)
call_received_time = Column(String)
call_received_time = Column(DateTime(timezone=True))
transcript_key_id = Column(String)
clinic_id = Column(Integer, nullable=True, default=None)