From 77071f4269689bd628caecd922fb18c5ba180c3a Mon Sep 17 00:00:00 2001 From: Peter Wilson Date: Mon, 12 Aug 2024 10:57:59 +1000 Subject: [PATCH] Docs: Add `--add-drop-table` to export command options. --- src/DB_Command.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/DB_Command.php b/src/DB_Command.php index 17d1c00e..2023e5db 100644 --- a/src/DB_Command.php +++ b/src/DB_Command.php @@ -535,6 +535,9 @@ public function query( $args, $assoc_args ) { * [--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. *