feat: set default values for marked_name and marked_comment fields in Workflow model
Signed-off-by: -LAN- <laipz8200@outlook.com>
This commit is contained in:
parent
9f37d142d8
commit
fd4b3433f6
@ -109,8 +109,8 @@ class Workflow(Base):
|
||||
app_id: Mapped[str] = mapped_column(StringUUID, nullable=False)
|
||||
type: Mapped[str] = mapped_column(db.String(255), nullable=False)
|
||||
version: Mapped[str]
|
||||
marked_name: Mapped[str]
|
||||
marked_comment: Mapped[str]
|
||||
marked_name: Mapped[str] = mapped_column(default="", server_default="")
|
||||
marked_comment: Mapped[str] = mapped_column(default="", server_default="")
|
||||
graph: Mapped[str] = mapped_column(sa.Text)
|
||||
_features: Mapped[str] = mapped_column("features", sa.TEXT)
|
||||
created_by: Mapped[str] = mapped_column(StringUUID, nullable=False)
|
||||
|
Loading…
Reference in New Issue
Block a user