Skip to content

Commit

Permalink
chore: removed the runbooks key in incidents schema
Browse files Browse the repository at this point in the history
  • Loading branch information
rajesh-jonnalagadda committed Oct 9, 2024
1 parent 74e586e commit 10aaefb
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions keep/api/models/db/alert.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
from keep.api.core.config import config
from keep.api.models.alert import IncidentSeverity, IncidentStatus
from keep.api.models.db.tenant import Tenant
from keep.api.models.db.runbook import RunbookToIncident, Runbook


db_connection_string = config("DATABASE_CONNECTION_STRING", default=None)
Expand Down Expand Up @@ -86,10 +85,6 @@ class Incident(SQLModel, table=True):
back_populates="incidents", link_model=AlertToIncident
)

runbooks: List["Runbook"] = Relationship(
back_populates="incidents", link_model=RunbookToIncident
)

is_predicted: bool = Field(default=False)
is_confirmed: bool = Field(default=False)

Expand Down

0 comments on commit 10aaefb

Please sign in to comment.