15 lines
461 B
PL/PgSQL
15 lines
461 B
PL/PgSQL
-- Rollback for AwoooP RLS Canary Wave 1.3.
|
|
-- This only removes the wave1.3 policy and disables RLS on outbound messages.
|
|
-- It intentionally does not touch data.
|
|
|
|
BEGIN;
|
|
|
|
SET LOCAL lock_timeout = '5s';
|
|
SET LOCAL statement_timeout = '30s';
|
|
|
|
DROP POLICY IF EXISTS awooop_outbound_message_tenant ON awooop_outbound_message;
|
|
ALTER TABLE awooop_outbound_message NO FORCE ROW LEVEL SECURITY;
|
|
ALTER TABLE awooop_outbound_message DISABLE ROW LEVEL SECURITY;
|
|
|
|
COMMIT;
|