Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a marten cleardatabase management command #148

Open
treagod opened this issue Jan 28, 2024 · 0 comments
Open

Add a marten cleardatabase management command #148

treagod opened this issue Jan 28, 2024 · 0 comments

Comments

@treagod
Copy link
Contributor

treagod commented Jan 28, 2024

Description

Let's introduce a new management command, marten cleardatabase, to provide a convenient way to reset the database by removing all data, effectively setting it to zero.

Background

With the introduction of the seed command (#147) it is useful to not only seed the database, but to also reset it in order to quickly reset the application to a initial state.

Proposed Solution

The marten cleardatabase command shall provide this functionality in a straightforward way. In addition a marten cleardatabase --app=my-app command would only reset the database entries for a specific app

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

No branches or pull requests

1 participant