fix: suppress migration warnings on flow table (#7920)

Surpress migration warnings on flow table
This commit is contained in:
Jordan Frazier 2025-05-06 15:28:13 -07:00 committed by GitHub
commit 793e5784d5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -35,6 +35,9 @@ class AccessTypeEnum(str, Enum):
class FlowBase(SQLModel):
# Supresses warnings during migrations
__mapper_args__ = {"confirm_deleted_rows": False}
name: str = Field(index=True)
description: str | None = Field(default=None, sa_column=Column(Text, index=True, nullable=True))
icon: str | None = Field(default=None, nullable=True)