From e422bf9ecdd6401287eca3a3c73936a50818320f Mon Sep 17 00:00:00 2001 From: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> Date: Sat, 15 Mar 2025 13:13:14 -0600 Subject: [PATCH] fix: correct password handling syntax in Supabase template SQL scripts - Updated the password setting syntax to use backticks for command substitution. - Ensured the echo command for the POSTGRES_PASSWORD variable is correctly formatted. --- blueprints/supabase/template.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blueprints/supabase/template.yml b/blueprints/supabase/template.yml index 0910d4eb..61917b8a 100644 --- a/blueprints/supabase/template.yml +++ b/blueprints/supabase/template.yml @@ -325,7 +325,7 @@ config: - filePath: /volumes/db/roles.sql content: | -- NOTE: change to your own passwords for production environments - \\set pgpass \`echo "$POSTGRES_PASSWORD"\` + \set pgpass `echo "$POSTGRES_PASSWORD"` ALTER USER authenticator WITH PASSWORD :'pgpass'; ALTER USER pgbouncer WITH PASSWORD :'pgpass';