mirror of https://github.com/langgenius/dify.git
fix workflow default updated_at (#28047)
This commit is contained in:
parent
1464c97a30
commit
03a00d9bd6
|
|
@ -140,6 +140,7 @@ class Workflow(Base):
|
||||||
updated_at: Mapped[datetime] = mapped_column(
|
updated_at: Mapped[datetime] = mapped_column(
|
||||||
DateTime,
|
DateTime,
|
||||||
nullable=False,
|
nullable=False,
|
||||||
|
default=func.current_timestamp(),
|
||||||
server_default=func.current_timestamp(),
|
server_default=func.current_timestamp(),
|
||||||
onupdate=func.current_timestamp(),
|
onupdate=func.current_timestamp(),
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue