mirror of
https://github.com/langgenius/dify.git
synced 2026-04-25 09:36:40 +08:00
fix: linter
This commit is contained in:
parent
5200668336
commit
baf536eb2b
@ -6,7 +6,6 @@ Create Date: 2024-03-14 04:54:56.679506
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
from alembic import op
|
from alembic import op
|
||||||
import sqlalchemy as sa
|
|
||||||
from sqlalchemy.dialects import postgresql
|
from sqlalchemy.dialects import postgresql
|
||||||
|
|
||||||
# revision identifiers, used by Alembic.
|
# revision identifiers, used by Alembic.
|
||||||
|
|||||||
@ -218,7 +218,7 @@ class ToolFile(db.Model):
|
|||||||
# tenant id
|
# tenant id
|
||||||
tenant_id = db.Column(UUID, nullable=False)
|
tenant_id = db.Column(UUID, nullable=False)
|
||||||
# conversation id
|
# conversation id
|
||||||
conversation_id = db.Column(UUID, nullable=False)
|
conversation_id = db.Column(UUID, nullable=True)
|
||||||
# file key
|
# file key
|
||||||
file_key = db.Column(db.String(255), nullable=False)
|
file_key = db.Column(db.String(255), nullable=False)
|
||||||
# mime type
|
# mime type
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user