diff --git a/lib/galaxy/model/__init__.py b/lib/galaxy/model/__init__.py index 1c4c99ac1d0f..93f2d651f792 100644 --- a/lib/galaxy/model/__init__.py +++ b/lib/galaxy/model/__init__.py @@ -3127,6 +3127,7 @@ class History(Base, HasTags, Dictifiable, UsesAnnotations, HasName, Serializable __tablename__ = "history" __table_args__ = (Index("ix_history_slug", "slug", mysql_length=200),) + id: Mapped[int] = mapped_column(primary_key=True) # duplicated intentionally due to update_time column_property create_time: Mapped[datetime] = mapped_column(default=now, nullable=True) _update_time: Mapped[datetime] = mapped_column( "update_time", DateTime, index=True, default=now, onupdate=now, nullable=True