mirror of
https://github.com/nullthoughts/laravel-data-sync.git
synced 2026-02-05 09:49:06 +00:00
Support for ordered sync/importing
- Order specified in config - Tests for ordered sync - New ErrorUpdatingModelException specifies which Model the error was thrown on
This commit is contained in:
9
tests/test-data/ordered/roles.json
Normal file
9
tests/test-data/ordered/roles.json
Normal file
@@ -0,0 +1,9 @@
|
||||
[
|
||||
{
|
||||
"_slug": "update-student-records",
|
||||
"category": "testing",
|
||||
"supervisor": {
|
||||
"name": "CEO"
|
||||
}
|
||||
}
|
||||
]
|
||||
5
tests/test-data/ordered/supervisor.json
Normal file
5
tests/test-data/ordered/supervisor.json
Normal file
@@ -0,0 +1,5 @@
|
||||
[
|
||||
{
|
||||
"_name": "CEO"
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user