Database Hooks In Local Development

Is there any work arounds to have database hooks enabled in local development? I'm relying heavily on certain database events triggering an http request which is available in the Studio GUI in a live Supabase account. However, in a local development environment, the Studio GUI doesn't show the option for database hooks.

I'm wondering if behind the scenes, the live Supabase GUI creates a migration that runs the http postgres extension to fire off your API request after a database event and that if I could create that same migration in my local development setup I could accomplish the same things.

Really I just want them to be available locally since my development flow is all local development. Without the database hooks Im sort of flying blind on how those things will behave in production.

Any help or suggestions on how to accomplish this would be appreciated!
Was this page helpful?