Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Updating readme to document the new progress option.
  • Loading branch information
camcima authored Jun 29, 2016
1 parent 8d5b09b commit cb9b39d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ Diff completed!
### Migration Script

```
$ php-mysql-diff migrate <from> <to> [-o <output-file>] [-i <ignore-tables-file>]
$ php-mysql-diff migrate <from> <to> [-o <output-file>] [-i <ignore-tables-file>] [-p]
```

where `from` is the path to the initial database creation script and `to` is the path to the target database creation script.
Expand Down Expand Up @@ -191,6 +191,10 @@ CREATE TABLE `test3` (
SET FOREIGN_KEY_CHECKS = 1;
```

**Display Progress**

For long running migrations, it is recommended to use the `-p` option to display the progress of the running migration.

## Contribute

Feel free to send your contributions as PR. Make sure you update/write new tests to support your contribution. Please follow PSR-2.
Expand Down

0 comments on commit cb9b39d

Please sign in to comment.