Add provider to vendor:publish command

This commit is contained in:
distinctm
2019-01-23 14:19:20 -05:00
parent 4bd6ac2d53
commit 6eacd9de58

View File

@@ -5,7 +5,7 @@ Laravel utility to keep records synced between enviroments through source contro
- Create a JSON file for each model, using the model name as the filename. Example: Product.json would update the Product model - Create a JSON file for each model, using the model name as the filename. Example: Product.json would update the Product model
- Use nested arrays in place of hardcoded IDs for relationships - Use nested arrays in place of hardcoded IDs for relationships
- Run `php artisan vendor:publish --tag="data-sync-config"` to publish config file. Specify directory for sync data files (default is a new sync directory in the project root) - Run `php artisan vendor:publish --provider="distinctm\LaravelDataSync\DataSyncBaseServiceProvider" --tag="data-sync-config"` to publish config file. Specify directory for sync data files (default is a new sync directory in the project root)
- Run `php artisan data:sync` - Run `php artisan data:sync`
## Notes ## Notes