fix: suppress migration warnings on flow table (#7920)
Surpress migration warnings on flow table
This commit is contained in:
parent
1a2f4631d0
commit
793e5784d5
1 changed files with 3 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue