CRITICAL FIX: Add synthesis_data to Notebook model
- Added synthesis_data = Column(Text) to Notebook class - Column exists in DB, now in Python model too - GET synthesis endpoint will work after reload - Synthesis will persist properly Also deleted 9 spam chat sessions (81-89).
This commit is contained in:
parent
dc128f7ce3
commit
dc85bca8d8
1 changed files with 1 additions and 0 deletions
|
|
@ -72,6 +72,7 @@ class Notebook(Base):
|
|||
model_type = Column(String(50), default='openai', nullable=False) # 'openai' or 'gemini'
|
||||
podcast_path = Column(String(500), nullable=True)
|
||||
podcast_generated_at = Column(DateTime, nullable=True)
|
||||
synthesis_data = Column(Text, nullable=True)
|
||||
created_at = Column(DateTime, default=datetime.utcnow)
|
||||
updated_at = Column(DateTime, default=datetime.utcnow, onupdate=datetime.utcnow)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue