When developing in ddev, it happens quite frequently that you wish to reset the database to initial state.
This is already possible using dump-db or export-db if you remember to do this when you set up the project.
Typical cases are for example:
Test config changes
Large changes in (fresh) Module development that conflict with the installed module
...
But if you don't, your best chance is to set up a fresh DDEV project, which simply costs too much time.
The command should be low-level because in such cases you otherwise run into PHP errors, if Drupal needs to be bootstrapped. For that reason BAM for example can't be accessed typically.
Of course, this requirement is very specific to Drupal development, but that's what the project is for.
When developing in ddev, it happens quite frequently that you wish to reset the database to initial state. This is already possible using
dump-db
orexport-db
if you remember to do this when you set up the project.Typical cases are for example:
But if you don't, your best chance is to set up a fresh DDEV project, which simply costs too much time. The command should be low-level because in such cases you otherwise run into PHP errors, if Drupal needs to be bootstrapped. For that reason BAM for example can't be accessed typically.
Of course, this requirement is very specific to Drupal development, but that's what the project is for.