From 597eb30010fbadae799e7cab50dc49b1fe505d7b Mon Sep 17 00:00:00 2001 From: Max Wagner Date: Fri, 13 Nov 2020 15:17:14 -0700 Subject: [PATCH] Define alter cli flag This flag not really documented, hopefully this clears up the intent. --- doc/command-line-flags.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/command-line-flags.md b/doc/command-line-flags.md index 629e9f9..d982e7b 100644 --- a/doc/command-line-flags.md +++ b/doc/command-line-flags.md @@ -16,6 +16,10 @@ By default, `gh-ost` would like you to connect to a replica, from where it figur If, for some reason, you do not wish `gh-ost` to connect to a replica, you may connect it directly to the master and approve this via `--allow-on-master`. +### alter + +This manadatory flag is the `ALTER` statement migrated to the ghost table. + ### approve-renamed-columns When your migration issues a column rename (`change column old_name new_name ...`) `gh-ost` analyzes the statement to try and associate the old column name with new column name. Otherwise the new structure may also look like some column was dropped and another was added.