Define alter cli flag

This flag not really documented, hopefully this clears up the intent.
This commit is contained in:
Max Wagner 2020-11-13 15:17:14 -07:00
parent a93f00ae8e
commit 597eb30010
1 changed files with 4 additions and 0 deletions

View File

@ -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.