drush sql-dropfor drush 8x

Drop all tables in a given database.

drush sql-drop

  • Options

    sql-drop accepts 5 option/s:

    --yes : Skip confirmation and proceed.

    --result-file : Save to a file. The file should be relative to Drupal root. Recommended.

    --database : The DB connection key if using multiple connections in settings.php.

    --target : The name of a target within the specified database connection. Defaults to 'default'.

    --db-url : A Drupal 6 style database URL.

  • Comments

    comments powered by Disqus