SupabaseS
Supabase12mo ago
Tshepo

Passing Supabase ENV variables to the migrations file

Is there a way to pass Supabase environment variables to a migrations file? I'm setting up a foreign data wrapper to access a table in different database, I need to pass in db credentials to the migrations file and I want to be able to pass in dynamic values based on what I have in the supabase environment variables. Any ideas?
Was this page helpful?