mirror of
https://github.com/nullthoughts/laravel-data-sync.git
synced 2026-03-13 17:04:01 +00:00
Updated documentation
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
# Laravel Data Sync
|
# Laravel Data Sync
|
||||||
|
|
||||||
|
Laravel utility to keep records synced between enviroments through source control
|
||||||
|
|
||||||
- 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
|
- 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
|
||||||
|
|||||||
@@ -1 +1,2 @@
|
|||||||
- In config, specify disk to use (string)
|
- In config, specify disk to use (string)
|
||||||
|
- Document Forge example
|
||||||
|
|||||||
Reference in New Issue
Block a user