store only status-change events; UI client-side polling refactor
This commit is contained in:
@@ -71,6 +71,7 @@ class Check(Base):
|
||||
last_observed_at: Mapped[datetime] = mapped_column(DateTime(timezone=True), nullable=False)
|
||||
last_event_id: Mapped[UUID] = mapped_column(_uuid(), nullable=False)
|
||||
incident_key: Mapped[str] = mapped_column(Text, nullable=False)
|
||||
summary: Mapped[str | None] = mapped_column(Text, nullable=True)
|
||||
|
||||
__table_args__ = (
|
||||
PrimaryKeyConstraint("agent_id", "check_id", name="checks_pkey"),
|
||||
|
||||
Reference in New Issue
Block a user