15 lines
465 B
PL/PgSQL
15 lines
465 B
PL/PgSQL
-- Rollback for AwoooP RLS Canary Wave 1.1.
|
|
-- This only removes the wave1.1 policy and disables RLS on the tool registry.
|
|
-- It intentionally does not touch data.
|
|
|
|
BEGIN;
|
|
|
|
SET LOCAL lock_timeout = '5s';
|
|
SET LOCAL statement_timeout = '30s';
|
|
|
|
DROP POLICY IF EXISTS awooop_mcp_tool_registry_tenant ON awooop_mcp_tool_registry;
|
|
ALTER TABLE awooop_mcp_tool_registry NO FORCE ROW LEVEL SECURITY;
|
|
ALTER TABLE awooop_mcp_tool_registry DISABLE ROW LEVEL SECURITY;
|
|
|
|
COMMIT;
|