database:drop
Drop all tables in a given database.
Usage:
drupal database:drop [arguments]
dbdAvailable arguments
| Argument | Details |
|---|---|
database | Database key from settings.php |
target | Database target from settings.php |
Examples
Drop the tables on the database specified on the argument
drupal database:drop \
<database>