Define alter cli flag
This flag not really documented, hopefully this clears up the intent.
This commit is contained in:
parent
a93f00ae8e
commit
597eb30010
@ -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`.
|
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
|
### 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.
|
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.
|
||||||
|
Loading…
Reference in New Issue
Block a user