Skip to content

Commit

Permalink
add index to parent_comment_id
Browse files Browse the repository at this point in the history
  • Loading branch information
ElectronicBlueberry committed Mar 14, 2024
1 parent cbe4bc7 commit 1d87385
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/galaxy/model/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7727,7 +7727,7 @@ class WorkflowStep(Base, RepresentById):
uuid = Column(UUIDType)
label = Column(Unicode(255))
temp_input_connections: Optional[InputConnDictType]
parent_comment_id = Column(Integer, ForeignKey("workflow_comment.id"), nullable=True)
parent_comment_id = Column(Integer, ForeignKey("workflow_comment.id"), index=True, nullable=True)

parent_comment = relationship(
"WorkflowComment",
Expand Down Expand Up @@ -8174,7 +8174,7 @@ class WorkflowComment(Base, RepresentById):
type = Column(String(16))
color = Column(String(16))
data = Column(JSONType)
parent_comment_id = Column(Integer, ForeignKey("workflow_comment.id"), nullable=True)
parent_comment_id = Column(Integer, ForeignKey("workflow_comment.id"), index=True, nullable=True)

workflow = relationship(
"Workflow",
Expand Down

0 comments on commit 1d87385

Please sign in to comment.