Strapi: Add database reset command to CLI

Created on 14 Jun 2018  路  3Comments  路  Source: strapi/strapi

What is the expected behavior?
Add database reset command to CLI

In Meteor.js we have a useful command called meteor reset in CLI. It's a simple clean database command and very useful in development process (when you break many thing and want to start from a fresh state). I think it also can be useful for Strapi community. For example as strapi reset :thinking:

low feature request

Most helpful comment

this seems great for when you're just gettin goin

i just messed up my db and not sure how best to go about fixing it without starting completely from scratch

All 3 comments

@mnlbox there is an issue that directly relates to this, the plan is go a little farther than this.

Here: https://github.com/strapi/strapi/issues/1114

See the discussion between me and @Aurelsicoko at the bottom.

I think we should continue the discussion in the other issue #1114. I'm closing this one, but I keep it in mind. It could be very useful!

this seems great for when you're just gettin goin

i just messed up my db and not sure how best to go about fixing it without starting completely from scratch

Was this page helpful?
0 / 5 - 0 ratings

Related issues

OrestTs picture OrestTs  路  3Comments

quibaritaenperdresatrompe picture quibaritaenperdresatrompe  路  3Comments

denislutz picture denislutz  路  3Comments

Rashidul420222 picture Rashidul420222  路  3Comments

wes-cutting picture wes-cutting  路  3Comments