Skip to content

Support globstarconfig.toml for DB diff #6548

Description

@cmcgowan-vitlrx

Existing issues

  • I have searched the 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions