fix: linter

This commit is contained in:
Yeuoly 2024-03-14 12:56:57 +08:00
parent 5200668336
commit baf536eb2b
No known key found for this signature in database
GPG Key ID: A66E7E320FB19F61
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