-
Notifications
You must be signed in to change notification settings - Fork 57
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
db reset shouldn't drop the db #87
Comments
It does make sense since we do have the
|
The only problem I see with that solution is it breaks compatibility. Not an issue to me in particular, but I wonder if we should be concerned about that. |
Correct, this is intentional.
Right. Given command name is
Changing the semantics of |
But
So the intention seems to drop the tables, not the whole database. Moreover, being a WordPress command, I believe it's understood it refers to the WordPress instance tables only.
So what's the difference between
That's inconsistent with what you said before. if That being said, I'm perfectly ok with the |
Sure. I'm open to a pull request that clarifies the description then.
Ok. You can win the argument then. We're not changing the behavior of |
wp db reset
drops the entire database and recreates it. However, if you have multiple WP instances sharing the same DB (using different table prefixes) that kills all the instances, not just the one you need to reset.Please either change the semantics of
wp db reset
or provide a newwp db clean
command (or similar command name) that only drops the tables.The text was updated successfully, but these errors were encountered: