統帥全景檢查補:違反 feedback_dev_prod_separation — 直接對 awoooi_prod 套 adr091 migration 時應同時有回滾路徑。新增 DROP TABLE / DROP INDEX 腳本備用。資料不可復原,僅緊急用。 K8s Secret AIDER_WEBHOOK_SECRET 已加進 awoooi-prod.awoooi-secrets (26 keys now, via kubectl patch)。 v1 repo ~/aider-watch README 標 DEPRECATED 並 tag v1-final。 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
10 lines
372 B
SQL
10 lines
372 B
SQL
-- adr091 rollback: drop aider_events + indexes
|
|
-- 2026-04-20 @ Asia/Taipei
|
|
-- 僅在 schema 誤套 / 緊急回滾時使用;資料不可復原
|
|
|
|
DROP INDEX IF EXISTS aider_events_payload_gin;
|
|
DROP INDEX IF EXISTS aider_events_ts_idx;
|
|
DROP INDEX IF EXISTS aider_events_type_ts_idx;
|
|
DROP INDEX IF EXISTS aider_events_session_idx;
|
|
DROP TABLE IF EXISTS aider_events CASCADE;
|