You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
May I clarify if your use case is to change seed files based on different environments?
Instead of customising each field by env var, we probably want to offer a more reliable alternative like SUPABASE_PROJECT_ID=some-ref supabase db reset which would customise all configs for a specific project.
Describe the bug
The
env()
function to load environment variables into the config.toml does not work for arrays in theconfig.toml
.To Reproduce
Steps to reproduce the behavior:
config.toml
SEEDS_PATH=abc123 supabase db reset
No seed files matched pattern: supabase/env(SEEDS_PATH)
in the console output. This is the first line in the output.Expected behavior
Supabase uses the path in the environment variable to source database seeds.
System information
Rerun the failing command with
--create-ticket
flag.SEEDS_PATH=abc123 supabase db reset --create-ticket
Additional context
I have tested this with a
.env
file as well, with no luck.Related issues include:
These issues are related but distinct -- as far as I can tell there is no issue for this array-specific bug.
The text was updated successfully, but these errors were encountered: