mirror of
https://github.com/langgenius/dify.git
synced 2025-12-19 17:27:16 -05:00
fix workflow default updated_at (#28047)
This commit is contained in:
@@ -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(),
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user