-- Manual rollback for migration 009. Never run as part of normal startup.

BEGIN;

DO $$
BEGIN
    IF current_database() <> 'booking_test' THEN
        RAISE EXCEPTION
            'ARR source read grant rollback is allowed only in booking_test';
    END IF;
END;
$$;

DROP TABLE ingestion.source_read_grants;

COMMIT;
