Skip to content

Running the seeder again fails because of existing relations #43

Description

@fojuth

Is your feature request related to a problem? Please describe.
When starting the project locally, dekick asks if it should re-seed the DB. It is however failing in our project due to existing relations. The seeders could clean-up before seeding, but that would be an overkill and a ton of work.

Describe the solution you'd like
The option to seed the database again should behave like dekick stop --remove as there is no point in keeping the previous DB. It's a simple solution that removes the burden of writing clean-up commands for each and every seeder.

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

    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