fix: linter

This commit is contained in:
Yeuoly 2024-03-14 12:56:57 +08:00 committed by takatost
parent 6e51ce123c
commit 74e644be1c
2 changed files with 1 additions and 2 deletions

View File

@ -6,7 +6,6 @@ Create Date: 2024-03-14 04:54:56.679506
"""
from alembic import op
import sqlalchemy as sa
from sqlalchemy.dialects import postgresql
# revision identifiers, used by Alembic.

View File

@ -218,7 +218,7 @@ class ToolFile(db.Model):
# tenant id
tenant_id = db.Column(UUID, nullable=False)
# conversation id
conversation_id = db.Column(UUID, nullable=False)
conversation_id = db.Column(UUID, nullable=True)
# file key
file_key = db.Column(db.String(255), nullable=False)
# mime type