Skip to content

Allow to skip seed even if file exists #4573

@vadzim-superdone

Description

@vadzim-superdone

Is your feature request related to a problem? Please describe.
I'm always frustrated when I have to update/rename the seed.sql to avoid seeding not updated data when starting or restarting supabase while developing app.

Describe the solution you'd like
Add CLI start option --no-seed which will ignore seed files, like in db reset command.
Add CLI start option --last uint, like in db reset command to be able to start without buggy migration.

I need to start supabase to be able to fix things and check them properly, specifically to create new migrations.

Describe alternatives you've considered
rename seed.sql => _seed.sql every time I want to restart supabase until I've got updated seed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions