Bug report
Describe the bug
When trying to create a Database Webhook function in my local Supabase Studio, I get the following error:
Failed to create hook: schema "supabase_functions" does not exist
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
- Start local supabase dev environment
supabase start (while Docker is running)
- Open the local Supabase Studio (http://localhost:54323/project/default)
- On the left menu, go to Database
- Select Webhooks, enable them in Alpha and create a test webhook
- See error
Failed to create hook: schema "supabase_functions" does not exist
Expected behavior
The Database Webhook should have been created correctly
Screenshots

System information
- OS: Windows 10
- Browser (if applies) Chrome
- Version of Supabase CLI: 1.40.1 (latest available in Scoop as of today)
Additional points
- When doing it on the cloud instance, the Database Webhook is created correctly. If I then go to Table Editor => Schema
supabase_functions -> Table hooks I see it empty. Is this correct? From the error above I assumed created Webhooks would be stored there. I see the Webhook in Database => Webhooks though.
- Are Webhooks captured as part of migrations and added to the sql file when a new migration is created?
Thanks!
Bug report
Describe the bug
When trying to create a Database Webhook function in my local Supabase Studio, I get the following error:
Failed to create hook: schema "supabase_functions" does not existTo Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
supabase start(while Docker is running)Failed to create hook: schema "supabase_functions" does not existExpected behavior
The Database Webhook should have been created correctly
Screenshots
System information
Additional points
supabase_functions-> TablehooksI see it empty. Is this correct? From the error above I assumed created Webhooks would be stored there. I see the Webhook in Database => Webhooks though.Thanks!