011_sources_secrets.down.sql 468 B

123456789101112
  1. -- 010_sources_secrets.down.sql
  2. --
  3. -- Reverts 010_sources_secrets. Drops the columns added in W2.
  4. -- WARNING: this is destructive in the sense that it deletes any
  5. -- HMAC/API key hashes and the mtls_required flag. Sources
  6. -- created under W2 will fall back to the M0 env-based auth.
  7. ALTER TABLE sources
  8. DROP COLUMN IF EXISTS description,
  9. DROP COLUMN IF EXISTS mtls_required,
  10. DROP COLUMN IF EXISTS api_key_hash,
  11. DROP COLUMN IF EXISTS hmac_secret_hash;