Skip to content

Option to drop tables and apply new (reset, initial) migration #16

Description

@bernd-wechner

Love this.

Would be even better with an option to drop the tables that it just reset and apply the new initial migration.

It may want an "Are you sure?" prompt to minimize risk of accidents and a -y or -f option to to answer yes automatically or force that (for scripts).

This is admittedly for a particular use case at the outset of a project when models are evolving rapidly and there is no live data yet per se, and whatever data is in there is from initial and test fixtures and easy to reload anyhow.

This extra feature would bring this use case into its one command turn-key solution scope. And would rock.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions