chore(database): Rename table name from workflow__conversation_variables to workflow_conversation_variables. (#7432)

This commit is contained in:
-LAN- 2024-08-20 14:34:03 +08:00 committed by GitHub
commit 2e9084f369
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 29 additions and 1 deletions

View file

@ -724,7 +724,7 @@ class WorkflowAppLog(db.Model):
class ConversationVariable(db.Model):
__tablename__ = 'workflow__conversation_variables'
__tablename__ = 'workflow_conversation_variables'
id: Mapped[str] = db.Column(StringUUID, primary_key=True)
conversation_id: Mapped[str] = db.Column(StringUUID, nullable=False, primary_key=True)