From cb9b39d5c3e4ade72607260358d3c4949571bb97 Mon Sep 17 00:00:00 2001 From: Carlos Cima Date: Tue, 28 Jun 2016 22:36:53 -0400 Subject: [PATCH] Update README.md Updating readme to document the new progress option. --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 217b303..c55f5c8 100644 --- a/README.md +++ b/README.md @@ -113,7 +113,7 @@ Diff completed! ### Migration Script ``` -$ php-mysql-diff migrate [-o ] [-i ] +$ php-mysql-diff migrate [-o ] [-i ] [-p] ``` 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` ( 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.