fix: preserve legacy monitoring migration data
This commit is contained in:
@@ -36,6 +36,11 @@ class AlertEvent(Base):
|
||||
nullable=True,
|
||||
comment="最近一次通知失败原因",
|
||||
)
|
||||
related_event_id = Column(
|
||||
BigInteger,
|
||||
nullable=True,
|
||||
comment="关联的原始或升级告警事件 ID",
|
||||
)
|
||||
previous_status = Column(String(16), nullable=True, comment="状态变更前状态")
|
||||
current_status = Column(String(16), nullable=True, comment="状态变更后状态")
|
||||
acknowledged_at = Column(DateTime, nullable=True, comment="用户确认时间")
|
||||
|
||||
Reference in New Issue
Block a user