Skip to content

Supabase db push should support migration sub directories #2881

@FrancescoMasaia

Description

@FrancescoMasaia

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

It could be interesting to have the support for push migration for subdirectories instead of only the main directory of supabase/migrations
that could be helpful in order to have features or scheme separated for each migration, specially in bigger projects i think that something like that is essential.

Describe the solution you'd like
A clear and concise description of what you want to happen.

I would like the script to iterate over
supabase/migrations/**/.sql
instead of only
supabase/migrations/
.sql

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

The other alternative is naming convention but that doesn't help to pre filter easily the files in the file explorer

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions