diff --git a/README.md b/README.md index b108cf83..9f9175bc 100644 --- a/README.md +++ b/README.md @@ -429,7 +429,7 @@ To confirm the ID for the site you want to query, you can use the `wp site list` Exports the database to a file or to STDOUT. ~~~ -wp db export [] [--dbuser=] [--dbpass=] [--=] [--tables=] [--exclude_tables=] [--include-tablespaces] [--porcelain] [--defaults] +wp db export [] [--dbuser=] [--dbpass=] [--=] [--tables=] [--exclude_tables=] [--include-tablespaces] [--porcelain] [--add-drop-table] [--defaults] ~~~ Runs `mysqldump` utility using `DB_HOST`, `DB_NAME`, `DB_USER` and @@ -462,6 +462,9 @@ Runs `mysqldump` utility using `DB_HOST`, `DB_NAME`, `DB_USER` and [--porcelain] Output filename for the exported database. + [--add-drop-table] + Include a `DROP TABLE IF EXISTS` statement before each `CREATE TABLE` statement. + [--defaults] Loads the environment's MySQL option files. Default behavior is to skip loading them to avoid failures due to misconfiguration.