Files
windmill/backend/migrations/20240331125020_webhooks_audits.up.sql
2024-03-31 14:52:06 +02:00

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))