Files
ewoooc/migrations/021_disable_momo_db_autoheal_restart.sql
OoO 0875dd8fda
All checks were successful
CD Pipeline / deploy (push) Successful in 1m11s
補強 5.5 自癒安全回看
2026-04-29 22:48:24 +08:00

10 lines
409 B
SQL
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
-- Migration 021: 禁止 AutoHeal PlayBook 重啟 momo-db
-- 原因ADR-011 / AGENTS.md 生產紅線要求不得影響 momo-db 生命週期。
UPDATE playbooks
SET action_type = 'ALERT_ONLY',
action_params = '{"message": "DB/DNS 異常,依 ADR-011 不重啟 momo-db轉人工檢查。"}',
updated_at = NOW()
WHERE action_type = 'DOCKER_RESTART'
AND action_params LIKE '%momo-db%';