SupabaseS
Supabase3mo ago
Idris

Atomic triggers on storage

Hey I was wondering if triggers on storage objects are atomic. So let's say I have a trigger that creates a row in the files table when someone uploads a file. But inserting the trigger raises an exception. Will this result in a error for the upload and delete the uploaded file so there are no ghost files?
Was this page helpful?