15 lines
574 B
SQL
15 lines
574 B
SQL
-- Reverses 000012.
|
|
--
|
|
-- Dropping oauth_clients unregisters every connected MCP client. That is the
|
|
-- correct meaning of rolling back OAuth client registration, and it destroys no
|
|
-- application data: every row here is a registration, not a business record.
|
|
-- A client whose registration is gone simply registers again.
|
|
--
|
|
-- 000013 and 000014 reference this table, so they must be rolled back first.
|
|
-- golang-migrate applies down migrations in descending order, which does that
|
|
-- by construction.
|
|
|
|
SET search_path = public;
|
|
|
|
DROP TABLE IF EXISTS public.oauth_clients;
|