Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Insert array in migration, rather than create a new (nested) array
Before migrations: "widgets": [ { "n": "pages", "s": { "limit_pages": 10, "limit_refs": 10 } }, [..] { "n": "locations", "s": { "key": "", "limit": 6 } } ] After migrations it was: "widgets": [ [ { "n": "pages", "s": { "limit_pages": 10, "limit_refs": 10 } }, [..] { "n": "locations", "s": { "key": "", "limit": 6 } } ], { "n": "languages" } ] So that's an extra level, since json_array() creates a new array, rather than merging two arrays. #569 (comment)
- Loading branch information