mirror of
https://github.com/nullthoughts/laravel-data-sync.git
synced 2026-01-26 11:44:11 +00:00
Basic usage details
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
# Laravel Data Sync
|
||||
|
||||
[ ] Add new `sync` disk in `config/filesystems.php`
|
||||
- Add new `sync` disk in `config/filesystems.php`
|
||||
- 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
|
||||
- Run `php artisan data:sync`
|
||||
|
||||
Reference in New Issue
Block a user