mirror of
https://github.com/nullthoughts/laravel-data-sync.git
synced 2026-02-05 04:48:50 +00:00
9 lines
376 B
Markdown
9 lines
376 B
Markdown
# Laravel Data Sync
|
|
|
|
Laravel utility to keep records synced between enviroments through source control
|
|
|
|
- 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`
|