Files
windmill/backend/migrations/20240331125020_webhooks_audits.up.sql

4 lines
145 B
SQL

-- Add up migration script here
CREATE POLICY "webhook" ON audit FOR INSERT
TO windmill_user
WITH CHECK (((username)::text ~~ 'webhook-%'::text))