Existing issues
Affected area
Migrations
Problem to solve
When adding paths to schema_paths in the config, I cannot use a globstar to recursively define paths to look through. My agent tried to use supabase/schemas/**/*.sql but it reported that it was treated as if the ** was a single * and did not match any files at greater depth.
I wanted this because I am organizing my schema by domain using nested folders under supabase/schemas/ and I want to provide a catch-all pattern like I can do with a flattened layout.
Proposed solution
Add support for globstar paths, or some other mechanism for identifying all SQL files within a tree of subdirectories.
Alternatives considered
No response
Additional context
No response
Existing issues
Affected area
Migrations
Problem to solve
When adding paths to
schema_pathsin the config, I cannot use a globstar to recursively define paths to look through. My agent tried to usesupabase/schemas/**/*.sqlbut it reported that it was treated as if the**was a single*and did not match any files at greater depth.I wanted this because I am organizing my schema by domain using nested folders under
supabase/schemas/and I want to provide a catch-all pattern like I can do with a flattened layout.Proposed solution
Add support for globstar paths, or some other mechanism for identifying all SQL files within a tree of subdirectories.
Alternatives considered
No response
Additional context
No response