Files
gochat/backend/migrations/000084_expand_encrypted_secret_fields.down.sql
T
Rogeeandrogee f719529d66 fix(security): harden auth and secret handling (HH-444) (#101)
* fix(security): harden auth and credential handling (HH-444)

* fix(security): address HH-444 review blockers

* fix(security): close remaining HH-444 review blockers

---------

Co-authored-by: Rogee <rogee@ipao.vip>
2026-08-22 15:45:06 +08:00

6 lines
299 B
SQL

-- Keep expanded columns on rollback: encrypted values can exceed the old limits,
-- and narrowing them would risk data loss.
DROP INDEX IF EXISTS idx_channel_whatsapps_webhook_verify_token_digest;
ALTER TABLE IF EXISTS channel_whatsapps DROP COLUMN IF EXISTS webhook_verify_token_digest;
SELECT 1;