diff --git a/README.md b/README.md index 96536ea..1b794de 100644 --- a/README.md +++ b/README.md @@ -120,3 +120,11 @@ You also have a command that allows you to rollback ```shell php artisan larapnn:rollback YouModelNamepace\\YourModel ``` + +You can add the skip option to skip the stats part (used if you are using a job): + +```shell +php artisan larapnn:migrate YouModelNamepace\\YourModel --skip + +php artisan larapnn:rollback YouModelNamepace\\YourModel --skip +``` diff --git a/config/larapnn.php b/config/larapnn.php index f436f7a..698f556 100644 --- a/config/larapnn.php +++ b/config/larapnn.php @@ -1,14 +1,37 @@ ['225', '00225', '+225'], + /** + * this parameter is used to make the number in a string composed only of digits + * If in database your contacts were formatted with () you must add them as a parameter. + */ + 'separators' => [ + ' ', '-' + ], + + /** + * Formatting the number after processing + */ 'format' => [ + /** + * Separator used after formatting + */ 'separator' => ' ', + /** + * number formatting after migration + */ 'model_migrate' => 'XX-XX-XX-XX-XX', + /** + * number formatting after migration + */ 'model_rollback' => 'XX-XX-XX-XX' ], @@ -61,8 +84,4 @@ ], ] ], - - 'separators' => [ - ' ', '-' - ], ];