Skip to content

Commit

Permalink
chore: removed the incidents relation ship in runbook
Browse files Browse the repository at this point in the history
  • Loading branch information
rajesh-jonnalagadda committed Oct 9, 2024
1 parent 84f406c commit 74e586e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions keep/api/models/db/runbook.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,6 @@ class Runbook(SQLModel, table=True):
contents: List["RunbookContent"] = Relationship(back_populates="runbook") # Relationship to RunbookContent
provider_type: str # Type of the provider
provider_id: Optional[str] = None # Optional provider ID
incidents: List["Incident"] = Relationship(
back_populates="runbooks", link_model=RunbookToIncident
)
created_at: datetime = Field(default_factory=datetime.utcnow) # Timestamp for creation
timestamp: datetime = Field(
sa_column=Column(datetime_column_type, index=True),
Expand Down

0 comments on commit 74e586e

Please sign in to comment.