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.
This commit is contained in:
Mauricio Siu 2025-03-15 13:13:14 -06:00
parent 0b41b1513d
commit e422bf9ecd

View File

@ -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';