Skip to content

Commit

Permalink
Make SQL definer replacement optional - update README
Browse files Browse the repository at this point in the history
  • Loading branch information
p-makowski authored and cmuench committed Nov 28, 2023
1 parent ef1891d commit b685e7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -783,6 +783,7 @@ Options:
| `--git-friendly` | Use one insert statement, but with line breaks instead of separate insert statements. |
| `--human-readable` | Use a single insert with column names per row. |
| `--include` | Tables to include entirely to the dump (default: all tables are included) |
| `--keep-definer` | Do not replace DEFINER in dump with CURRENT_USER |
| `--keep-column-statistics` | Retains `column statistics` table in `mysqldump` |
| `--no-single-transaction` | Do not use single-transaction (not recommended, this is blocking) |
| `--no-tablespaces` | Use this option if you want to create a dump without having the PROCESS privilege. |
Expand Down
2 changes: 1 addition & 1 deletion src/N98/Magento/Command/Database/DumpCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ protected function configure()
'keep-definer',
null,
InputOption::VALUE_NONE,
'Do not remove DEFINER from dump'
'Do not replace DEFINER in dump with CURRENT_USER'
)
->setDescription('Dumps database with mysqldump cli client');

Expand Down

0 comments on commit b685e7e

Please sign in to comment.