Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a force-table-names command flag #457

Merged
merged 2 commits into from
Jul 24, 2017
Merged

Conversation

arthurnn
Copy link
Member

usage example:

gh-ost  ...  --force-table-names=migration_tbl

The force-table-names flag will receive a table name and use that name
when creating the _del, _gho, _ghc tables.
For instance, for that example above, the tables would be:

_migration_tbl_del
_migration_tbl_gho
_migration_tbl_ghc

[fixes #399]

usage example:
```
gh-ost  ...  --force-table-names=migration_tbl
```

The force-table-names flag will receive a table name and use that name
when creating the _del, _gho, _ghc tables.
For instance for that example above, the tables would be:

_migration_tbl_del
_migration_tbl_gho
_migration_tbl_ghc

[fixes #399]
Copy link
Contributor

@shlomi-noach shlomi-noach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good! Thank you for adding tests to confirm!

@arthurnn arthurnn merged commit 5294ab6 into master Jul 24, 2017
@arthurnn arthurnn deleted the arthurnn/add_force_table_arg branch July 24, 2017 00:08
@shlomi-noach
Copy link
Contributor

3 years later, and this PR comes super handy for something I'm working on. Thought I'd drop a note.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

gh-ost temp table
2 participants