Files
krow_backend/migrations/000014_oauth_tokens.down.sql
Aravind f2aa3b3ad8
Some checks failed
CI / fixture (push) Has been cancelled
CI / test (push) Has been cancelled
mcp connection
2026-09-22 10:58:02 +05:30

15 lines
527 B
SQL

-- Reverses 000014.
--
-- Drops every access and refresh token, disconnecting every connected MCP
-- client. Users reconnect through the normal authorization flow.
--
-- This destroys no application data: every row is a credential. Cookie sessions
-- are in `sessions` and are untouched, so the merchant-facing product and the
-- existing console keep working exactly as before.
--
-- No touch to oauth_clients or oauth_grants, which 000012 and 000013 own.
SET search_path = public;
DROP TABLE IF EXISTS public.oauth_tokens;