Skip to content

Commit cb9b39d

Browse files
authored
Update README.md
Updating readme to document the new progress option.
1 parent 8d5b09b commit cb9b39d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ Diff completed!
113113
### Migration Script
114114

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

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

194+
**Display Progress**
195+
196+
For long running migrations, it is recommended to use the `-p` option to display the progress of the running migration.
197+
194198
## Contribute
195199

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

0 commit comments

Comments
 (0)